Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.22 KB | None | 0 0
  1. root@hadoop-master:~# hadoop jar wordcount-1.jar tn.iset.tp1.WordCount input output
  2. 19/11/23 01:25:14 INFO client.RMProxy: Connecting to ResourceManager at hadoop-master/172.18.0.2:8032
  3. 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.
  4. 19/11/23 01:25:16 INFO input.FileInputFormat: Total input paths to process : 1
  5. 19/11/23 01:25:16 INFO mapreduce.JobSubmitter: number of splits:2
  6. 19/11/23 01:25:16 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1574466743441_0004
  7. 19/11/23 01:25:17 INFO impl.YarnClientImpl: Submitted application application_1574466743441_0004
  8. 19/11/23 01:25:17 INFO mapreduce.Job: The url to track the job: http://hadoop-master:8088/proxy/application_1574466743441_0004/
  9. 19/11/23 01:25:17 INFO mapreduce.Job: Running job: job_1574466743441_0004
  10. 19/11/23 01:25:29 INFO mapreduce.Job: Job job_1574466743441_0004 running in uber mode : false
  11. 19/11/23 01:25:29 INFO mapreduce.Job: map 0% reduce 0%
  12. 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
  13. 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.
  14. Diagnostics: Exception from container-launch.
  15. Container id: container_1574466743441_0004_02_000001
  16. Exit code: 1
  17. Stack trace: ExitCodeException exitCode=1:
  18. at org.apache.hadoop.util.Shell.runCommand(Shell.java:545)
  19. at org.apache.hadoop.util.Shell.run(Shell.java:456)
  20. at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:722)
  21. at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
  22. at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
  23. at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
  24. at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  25. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  26. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  27. at java.lang.Thread.run(Thread.java:745)
  28.  
  29.  
  30. Container exited with a non-zero exit code 1
  31. Failing this attempt. Failing the application.
  32. 19/11/23 01:25:29 INFO mapreduce.Job: Counters: 0
  33. root@hadoop-master:~# nano /usr/local/hadoop/etc/hadoop/hadoop-env.sh
  34. root@hadoop-master:~# hadoop jar wordcount-1.jar tn.iset.tp1.WordCount input output
  35. 19/11/23 01:28:06 INFO client.RMProxy: Connecting to ResourceManager at hadoop-master/172.18.0.2:8032
  36. 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.
  37. 19/11/23 01:28:07 INFO input.FileInputFormat: Total input paths to process : 1
  38. 19/11/23 01:28:07 INFO mapreduce.JobSubmitter: number of splits:2
  39. 19/11/23 01:28:08 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1574466743441_0005
  40. 19/11/23 01:28:08 INFO impl.YarnClientImpl: Submitted application application_1574466743441_0005
  41. 19/11/23 01:28:08 INFO mapreduce.Job: The url to track the job: http://hadoop-master:8088/proxy/application_1574466743441_0005/
  42. 19/11/23 01:28:08 INFO mapreduce.Job: Running job: job_1574466743441_0005
  43. 19/11/23 01:28:17 INFO mapreduce.Job: Job job_1574466743441_0005 running in uber mode : false
  44. 19/11/23 01:28:17 INFO mapreduce.Job: map 0% reduce 0%
  45. 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
  46. 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.
  47. Diagnostics: Exception from container-launch.
  48. Container id: container_1574466743441_0005_02_000001
  49. Exit code: 1
  50. Stack trace: ExitCodeException exitCode=1:
  51. at org.apache.hadoop.util.Shell.runCommand(Shell.java:545)
  52. at org.apache.hadoop.util.Shell.run(Shell.java:456)
  53. at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:722)
  54. at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchContainer(DefaultContainerExecutor.java:212)
  55. at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
  56. at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
  57. at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  58. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  59. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  60. at java.lang.Thread.run(Thread.java:745)
  61.  
  62.  
  63. Container exited with a non-zero exit code 1
  64. Failing this attempt. Failing the application.
  65. 19/11/23 01:28:17 INFO mapreduce.Job: Counters: 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement