Support Questions

Find answers, ask questions, and share your expertise

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

avatar
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

avatar
Explorer

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

 

sudo systemctl enable hive-server2

 

 Do let me know the results. Thanks.