FAQ
Hi, all.

I am trying to run the terasort to collect some profile information on
pseudo distributed mode of hadoop.
I found hadoop could achive it by define the mapred.task.profile in
conf/mapred-site.xml,
so i add some properties to the conf/mapred-site.xml like this:

------conf/mapred-site.xml------------------
....

<property>
<name>mapred.task.profile</name>
<value>true</value>
</property>

<property>
<name>keep.failed.task.files</name>
<value>true</value>
</property>

<property>
<name>keep.task.files.pattern</name>
<value>.*</value>
</property>
....

---------------------------------------------

When I run the terasort, exception is throwed out like this:

------Exception showed on the
screen----------------------------------------------------------

10/08/02 04:35:05 INFO mapred.JobClient: Running job: job_201008020434_0001
10/08/02 04:35:06 INFO mapred.JobClient: map 0% reduce 0%
java.io.FileNotFoundException:
http://localhost:50060/tasklog?plaintext=true&taskid=attempt_201008020434_0001_m_000000_0&filter=profile
at
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:884)
at
org.apache.hadoop.mapred.JobClient.downloadProfile(JobClient.java:1225)
at
org.apache.hadoop.mapred.JobClient.monitorAndPrintJob(JobClient.java:1302)
at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1251)
at org.apache.hadoop.examples.terasort.TeraSort.run(TeraSort.java:248)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.examples.terasort.TeraSort.main(TeraSort.java:257)
at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:197)
at java.lang.reflect.Method.invoke(Method.java:238)
at
org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:64)
at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:197)
at java.lang.reflect.Method.invoke(Method.java:238)
at org.apache.hadoop.util.RunJar.main(RunJar.java:156)

---------------------------------------------
--------------------------------------------------

I will be very thankful If someone could give me any sugguestion to solve
this problem.

Look forward to any reply.

Best Regards,
Cindy

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedAug 2, '10 at 5:12a
activeAug 2, '10 at 5:12a
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Wenyang xu: 1 post

People

Translate

site design / logo © 2022 Grokbase