Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.6
-
None
-
None
Description
In documentation is stated that sqoop import-mainframe can import files to formats avro/parquet
When I add the option --as-avrodatafile I receive an "Unrecognized argument" error:
17/05/31 08:25:35 ERROR tool.BaseSqoopTool: Error parsing arguments for import-mainframe: 17/05/31 08:25:35 ERROR tool.BaseSqoopTool: Unrecognized argument: --as-avrodatafile
Also, the help is listing only the -as-textfile option (no avro/parquet options)
sqoop help import-mainframe Warning: /opt/cloudera/parcels/CDH-5.8.2-1.cdh5.8.2.p0.3/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail. Please set $ACCUMULO_HOME to the root of your Accumulo installation. 17/05/31 08:29:54 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.8.2 ........... Import mainframe control arguments: --as-textfile Imports data as plain text (default) --compression-codec <codec> Compression codec to use for import --dataset <Dataset name> Datasets to
So, is this a bug in sqoop application or the documentation is wrong and import as avro/parquet is not supported by sqoop import-mainframe?
Thanks,