Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@hadoop-master:~# hadoop jar wordcount-1.jar tn.iset.tp1.WordCount input output
- 19/11/23 01:25:14 INFO client.RMProxy: Connecting to ResourceManager at hadoop-master/172.18.0.2:8032
- 19/11/23 01:25:15 WARN mapreduce.JobResourceUploader: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
- 19/11/23 01:25:16 INFO input.FileInputFormat: Total input paths to process : 1
- 19/11/23 01:25:16 INFO mapreduce.JobSubmitter: number of splits:2
- 19/11/23 01:25:16 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1574466743441_0004
- 19/11/23 01:25:17 INFO impl.YarnClientImpl: Submitted application application_1574466743441_0004
- 19/11/23 01:25:17 INFO mapreduce.Job: The url to track the job: http://hadoop-master:8088/proxy/application_1574466743441_0004/
- 19/11/23 01:25:17 INFO mapreduce.Job: Running job: job_1574466743441_0004
- 19/11/23 01:25:29 INFO mapreduce.Job: Job job_1574466743441_0004 running in uber mode : false
- 19/11/23 01:25:29 INFO mapreduce.Job: map 0% reduce 0%
- 19/11/23 01:25:29 INFO mapreduce.Job: Job job_1574466743441_0004 failed with state FAILED due to: Application application_1574466743441_0004 failed 2 times due to AM Container for appattempt_1574466743441_0004_000002 exited with exitCode: 1
- For more detailed output, check application tracking page:http://hadoop-master:8088/cluster/app/application_1574466743441_0004Then, click on links to logs of each attempt.
- Diagnostics: Exception from container-launch.
- Container id: container_1574466743441_0004_02_000001
- Exit code: 1
- Stack trace: ExitCodeException exitCode=1:
- at org.apache.hadoop.util.Shell.runCommand(Shell.java:545)
- at org.apache.hadoop.util.Shell.run(Shell.java:456)
- at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:722)
- at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
- at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
- at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
- at java.util.concurrent.FutureTask.run(FutureTask.java:262)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
- at java.lang.Thread.run(Thread.java:745)
- Container exited with a non-zero exit code 1
- Failing this attempt. Failing the application.
- 19/11/23 01:25:29 INFO mapreduce.Job: Counters: 0
- root@hadoop-master:~# nano /usr/local/hadoop/etc/hadoop/hadoop-env.sh
- root@hadoop-master:~# hadoop jar wordcount-1.jar tn.iset.tp1.WordCount input output
- 19/11/23 01:28:06 INFO client.RMProxy: Connecting to ResourceManager at hadoop-master/172.18.0.2:8032
- 19/11/23 01:28:07 WARN mapreduce.JobResourceUploader: Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
- 19/11/23 01:28:07 INFO input.FileInputFormat: Total input paths to process : 1
- 19/11/23 01:28:07 INFO mapreduce.JobSubmitter: number of splits:2
- 19/11/23 01:28:08 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1574466743441_0005
- 19/11/23 01:28:08 INFO impl.YarnClientImpl: Submitted application application_1574466743441_0005
- 19/11/23 01:28:08 INFO mapreduce.Job: The url to track the job: http://hadoop-master:8088/proxy/application_1574466743441_0005/
- 19/11/23 01:28:08 INFO mapreduce.Job: Running job: job_1574466743441_0005
- 19/11/23 01:28:17 INFO mapreduce.Job: Job job_1574466743441_0005 running in uber mode : false
- 19/11/23 01:28:17 INFO mapreduce.Job: map 0% reduce 0%
- 19/11/23 01:28:17 INFO mapreduce.Job: Job job_1574466743441_0005 failed with state FAILED due to: Application application_1574466743441_0005 failed 2 times due to AM Container for appattempt_1574466743441_0005_000002 exited with exitCode: 1
- For more detailed output, check application tracking page:http://hadoop-master:8088/cluster/app/application_1574466743441_0005Then, click on links to logs of each attempt.
- Diagnostics: Exception from container-launch.
- Container id: container_1574466743441_0005_02_000001
- Exit code: 1
- Stack trace: ExitCodeException exitCode=1:
- at org.apache.hadoop.util.Shell.runCommand(Shell.java:545)
- at org.apache.hadoop.util.Shell.run(Shell.java:456)
- at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:722)
- at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
- at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
- at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
- at java.util.concurrent.FutureTask.run(FutureTask.java:262)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
- at java.lang.Thread.run(Thread.java:745)
- Container exited with a non-zero exit code 1
- Failing this attempt. Failing the application.
- 19/11/23 01:28:17 INFO mapreduce.Job: Counters: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement