Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.5
-
None
-
None
Description
This limitation makes the codegen command incompatible with the use of "-- --schema <schema>" in PostgreSQL or Microsoft SQL Server.
$ sqoop codegen --connect jdbc:sqlserver://host --username user -P --table table --hive-import – --schema schema
Warning: /usr/lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
15/05/01 20:46:19 INFO sqoop.Sqoop: Running Sqoop version: 1.4.5-cdh5.3.2
Enter password:
15/05/01 20:46:21 ERROR tool.BaseSqoopTool: Error parsing arguments for codegen:
15/05/01 20:46:21 ERROR tool.BaseSqoopTool: Unrecognized argument: –
15/05/01 20:46:21 ERROR tool.BaseSqoopTool: Unrecognized argument: --schema
15/05/01 20:46:21 ERROR tool.BaseSqoopTool: Unrecognized argument: schema
Try --help for usage instructions.