Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

avatar
Explorer

 

 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.... 

Who agreed with this topic