Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

By default Metastore & Hiveserver2 not running automatically once started the Cluster

By default Metastore & Hiveserver2 not running automatically once started the Cluster

New Contributor

Dear Guys,

 

Each time i need to start the each service like 

nohup hive --service metastore &
nohup hive --service hiveserver2 &

 

If not running it up im facing the below error message,

FAILED: HiveException java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

 

Please suggest me to automate the service whenever start the cluster it should run automatically

1 REPLY 1
Highlighted

Re: By default Metastore & Hiveserver2 not running automatically once started the Cluster

Explorer

Please run below command to setup auto startup of hive service:

 

sudo systemctl enable hive-server2

 

 Do let me know the results. Thanks.

Don't have an account?
Coming from Hortonworks? Activate your account here