Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- +----+-----------+
- | ID | NAME |
- +----+-----------+
- | 1 | Sidhartha |
- | 2 | Sunny |
- | 3 | Saketh |
- | 4 | Bobby |
- | 5 | Yash |
- | 6 | Nimmi |
- +----+-----------+
- importedtable.id importedtable.name importedtable.day
- 1 Sidhartha 1
- 2 Sunny 1
- 3 Saketh 1
- 4 Bobby 1
- 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';
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Error parsing arguments for import:
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: WARN:
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: The
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: method
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: class
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: org.apache.commons.logging.impl.SLF4JLogFactory#release()
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: was
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: invoked.
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: WARN:
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: Please
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: see
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: http://www.slf4j.org/codes.html#release
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: for
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: an
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: explanation.
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: --target-dir
- 17/03/08 12:15:14 ERROR tool.BaseSqoopTool: Unrecognized argument: /home/incdata
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement