Created on 02-20-2018 09:32 PM - edited 09-16-2022 05:53 AM
Hi Everyone,
I just trying to execute the sqoop command below to create a new hive table :
sqoop import \ --direct \ --connect jdbc:postgresql://localhost/testdb \ --username hive -P \ --hive-import \ --create-hive-table \ --table claim \ -- --schema hivetest \ --num-mappers 4 \ --target-dir '/user/user/datawarehouse' \ --warehouse-dir '/user/user/datawarehouse' \ --split-by id \ --hive-overwrite \ --hive-database edb
But then I get the error below...
Logging initialized using configuration in jar:file:/usr/lib/hive/lib/hive-common-1.1.0-cdh5.13.1.jar!/hive-log4j.properties FAILED: SemanticException org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClie
Can someone advise me how to fix this?
Thanks in advance....