Advertisement
Guest User

Untitled

a guest
Jan 18th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. import"
  2. , "-fs", "file:///"
  3. , "-jt", "local"
  4. , "-libjars", "/tmp/HELLO/tej01/EMP.jar"
  5. , "--connect", "jdbc:oracle:thin:@192.168.1.111:1522:test"
  6. , "--username", "SCOTT", "--password", "password"
  7. ,"--table","EMP"
  8. ,"--inline-lob-limit","0"
  9. , "-m", "1"
  10. ,"--target-dir","/tmp/HELLO/tej01"
  11. ,"--fields-terminated-by", "^"
  12. , "--enclosed-by", enclosedBY
  13.  
  14. sqoop import --verbose --connect jdbc:sybase:Tds:[host]:5000?ServiceName=master --username sa --password password --query "select * from City where $CONDITIONS" --target-dir /tmp/HELLO/tej01 --driver "com.sybase.jdbc4.jdbc.SybDriver" -m 1
  15.  
  16. ERROR tool.ImportTool: Encountered IOException running import job: java.io.FileNotFoundException: File does not exist: hdfs://[host]:54310/usr/lib/sqoop/lib/parquet-format-2.0.0.jar
  17. at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1122)
  18. at org.apache.hadoop.hdfs.DistributedFileSystem$18.doCall(DistributedFileSystem.java:1114)
  19. at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
  20. at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1114)
  21. at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileStatus(ClientDistributedCacheManager.java:288)
  22. at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileStatus(ClientDistributedCacheManager.java:224)
  23. at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determineTimestamps(ClientDistributedCacheManager.java:93)
  24. at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determineTimestampsAndCacheVisibilities(ClientDistributedCacheManager.java:57)
  25. at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:269)
  26. at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:390)
  27. at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:483)
  28. at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1296)
  29. at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1293)
  30. at java.security.AccessController.doPrivileged(Native Method)
  31. at javax.security.auth.Subject.doAs(Subject.java:415)
  32. at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
  33. at org.apache.hadoop.mapreduce.Job.submit(Job.java:1293)
  34. at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1314)
  35. at org.apache.sqoop.mapreduce.ImportJobBase.doSubmitJob(ImportJobBase.java:196)
  36. at org.apache.sqoop.mapreduce.ImportJobBase.runJob(ImportJobBase.java:169)
  37. at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:266)
  38. at org.apache.sqoop.manager.SqlManager.importQuery(SqlManager.java:729)
  39. at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:499)
  40. at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
  41. at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
  42. at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
  43. at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
  44. at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
  45. at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
  46. at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement