$ sqoop import \
> --connect jdbc:mysql://dbserver.edu.cloudlab.com:3306/labuser_database \
> --username edu_labuser \
> --password edureka -m 1 \
> --table dim_store \
> --columns store_nbr,geo_region_cd,store_nm,region_nbr,market_nm,city_nm \
> --where "geo_region_cd = 'US' AND op_cmpny_cd = 'WMT-US'" \
> --hcatalog-database edureka_788309_dw \
> --hcatalog-table dim_store \
> --create-hcatalog-table \
> --hive-partition-keys op_cmpny_cd \
> --hive-partition-values 'WMT-US' \
> --hcatalog-storage-stanza "stored as orcfile";
Warning: /opt/cloudera/parcels/CDH-5.11.1-1.cdh5.11.1.p0.4/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
20/08/31 07:20:55 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.11.1
20/08/31 07:20:55 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
20/08/31 07:20:55 ERROR tool.BaseSqoopTool: Error parsing arguments for import:
20/08/31 07:20:55 ERROR tool.BaseSqoopTool: Unrecognized argument: --hive-partition-keys
20/08/31 07:20:55 ERROR tool.BaseSqoopTool: Unrecognized argument: op_cmpny_cd
20/08/31 07:20:55 ERROR tool.BaseSqoopTool: Unrecognized argument: --hive-partition-values
20/08/31 07:20:55 ERROR tool.BaseSqoopTool: Unrecognized argument: WMT-US
20/08/31 07:20:55 ERROR tool.BaseSqoopTool: Unrecognized argument: --hcatalog-storage-stanza
20/08/31 07:20:55 ERROR tool.BaseSqoopTool: Unrecognized argument: stored as orcfile
Try --help for usage instructions.