Created 12-10-2015 05:29 AM
execution following eval function getting error
sqoop eval --connect jdbc:mysql://localhost.localdomain/sqoop_test --table emp --username root --query "SELECT * FROM emp"
Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail. Please set $ACCUMULO_HOME to the root of your Accumulo installation. 15/12/09 21:21:39 INFO sqoop.Sqoop: Running Sqoop version: 1.4.3-cdh4.7.0 15/12/09 21:21:39 ERROR tool.BaseSqoopTool: Error parsing arguments for eval: 15/12/09 21:21:39 ERROR tool.BaseSqoopTool: Unrecognized argument: --table 15/12/09 21:21:39 ERROR tool.BaseSqoopTool: Unrecognized argument: emp 15/12/09 21:21:39 ERROR tool.BaseSqoopTool: Unrecognized argument: --username 15/12/09 21:21:39 ERROR tool.BaseSqoopTool: Unrecognized argument: root 15/12/09 21:21:39 ERROR tool.BaseSqoopTool: Unrecognized argument: --query 15/12/09 21:21:39 ERROR tool.BaseSqoopTool: Unrecognized argument: SELECT * FROM emp Try --help for usage instructions. usage: sqoop eval [GENERIC-ARGS] [TOOL-ARGS]
Created 12-10-2015 05:47 PM
You don't need the --table argument - it's only relevant for imports and exports (not eval).
Try this:
sqoop eval --connect jdbc:mysql://localhost.localdomain/sqoop_test --username root --query "SELECT * FROM emp"
Created 12-10-2015 05:47 PM
You don't need the --table argument - it's only relevant for imports and exports (not eval).
Try this:
sqoop eval --connect jdbc:mysql://localhost.localdomain/sqoop_test --username root --query "SELECT * FROM emp"
Created 12-22-2015 04:35 PM
Thanks. I realize my silly mistake and thanks for helping