Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
After setting up a single node hadoop on mac, copy some text file to it and run
$ hadoop jar ./share/hadoop/mapreduce/hadoop-mapreduce-examples-3.0.0-SNAPSHOT.jar wordcount /file.txt output
It reports
12/08/21 15:32:18 INFO Job.java:mapreduce.Job:1265: Running job: job_1345588312126_0001
12/08/21 15:32:22 INFO Job.java:mapreduce.Job:1286: Job job_1345588312126_0001 running in uber mode : false
12/08/21 15:32:22 INFO Job.java:mapreduce.Job:1293: map 0% reduce 0%
12/08/21 15:32:22 INFO Job.java:mapreduce.Job:1306: Job job_1345588312126_0001 failed with state FAILED due to: Application application_1345588312126_0001 failed 1 times due to AM Container for appattempt_1345588312126_0001_000001 exited with exitCode: 127 due to:
.Failing this attempt.. Failing the application.
12/08/21 15:32:22 INFO Job.java:mapreduce.Job:1311: Counters: 0
$ cat /tmp/logs/application_1345588312126_0001/container_1345588312126_0001_01_000001/stderr
/bin/bash: /bin/java: No such file or directory
The detected JAVA_HOME is not used somehow.
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-6605 Add JAVA_HOME detection to hadoop-config
- Resolved