Advertisement
Guest User

Untitled

a guest
Apr 21st, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. bin/sqoop import --connect jdbc:mysql://<Host-Name>/simpledb --table user --username root -P --target-dir /spoolout1 -m1
  2.  
  3. 16/04/21 14:54:04 INFO mapreduce.Job: Job job_1461250067734_0001 failed with state FAILED due to: Application application_1461250067734_0001 failed 2 times due to AM Container
  4. for appattempt_1461250067734_0001_000002 exited with exitCode: 1
  5. For more detailed output, check application tracking page:http://ip-172-31-45-253.us-wes
  6. t-2.compute.internal:8088/proxy/application_1461250067734_0001/Then, click on links to l
  7. ogs of each attempt.
  8. Diagnostics: Exception from container-launch.
  9. Container id: container_1461250067734_0001_02_000001
  10. Exit code: 1
  11. Stack trace: ExitCodeException exitCode=1:
  12. at org.apache.hadoop.util.Shell.runCommand(Shell.java:538)
  13. at org.apache.hadoop.util.Shell.run(Shell.java:455)
  14. at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:715)
  15. at org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor.launchCont
  16. ainer(DefaultContainerExecutor.java:212)
  17. at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.Container
  18. Launch.call(ContainerLaunch.java:302)
  19. at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.Container
  20. Launch.call(ContainerLaunch.java:82)
  21. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  22. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:114
  23. 2)
  24. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:61
  25. 7)
  26. at java.lang.Thread.run(Thread.java:745)
  27.  
  28.  
  29. Container exited with a non-zero exit code 1
  30. Failing this attempt. Failing the application.
  31. 16/04/21 14:54:04 INFO mapreduce.Job: Counters: 0
  32. 16/04/21 14:54:04 WARN mapreduce.Counters: Group FileSystemCounters is deprecated. Use o
  33. rg.apache.hadoop.mapreduce.FileSystemCounter instead
  34. 16/04/21 14:54:04 INFO mapreduce.ImportJobBase: Transferred 0 bytes in 18.9399 seconds (
  35. 0 bytes/sec)
  36. 16/04/21 14:54:04 WARN mapreduce.Counters: Group org.apache.hadoop.mapred.Task$Counter i
  37. s deprecated. Use org.apache.hadoop.mapreduce.TaskCounter instead
  38. 16/04/21 14:54:04 INFO mapreduce.ImportJobBase: Retrieved 0 records.
  39. 16/04/21 14:54:04 ERROR tool.ImportTool: Error during import: Import job failed!
  40.  
  41. I am unable to import the data...It'll be a great help if the thread continues...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement