Advertisement
Guest User

Untitled

a guest
Mar 8th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.93 KB | None | 0 0
  1. +----+-----------+
  2. | ID | NAME |
  3. +----+-----------+
  4. | 1 | Sidhartha |
  5. | 2 | Sunny |
  6. | 3 | Saketh |
  7. | 4 | Bobby |
  8. | 5 | Yash |
  9. | 6 | Nimmi |
  10. +----+-----------+
  11.  
  12. importedtable.id importedtable.name importedtable.day
  13. 1 Sidhartha 1
  14. 2 Sunny 1
  15. 3 Saketh 1
  16. 4 Bobby 1
  17.  
  18. sqoop import --connect jdbc:mysql://127.0.0.1/mydb --table MYTAB --driver com.mysql.jdbc.Driver --username root --password cloudera --hive-import --hive-table importedtable --incremental append --check-column id --last-value $(hive -e "select max(id) from importedtable") --target-dir '/home/incdata';
  19.  
  20. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Error parsing arguments for import:
  21. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: WARN:
  22. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: The
  23. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: method
  24. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: class
  25. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: org.apache.commons.logging.impl.SLF4JLogFactory#release()
  26. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: was
  27. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: invoked.
  28. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: WARN:
  29. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: Please
  30. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: see
  31. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: http://www.slf4j.org/codes.html#release
  32. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: for
  33. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: an
  34. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: explanation.
  35. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: --target-dir
  36. 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: /home/incdata
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement