Support Questions

Find answers, ask questions, and share your expertise

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



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


sudo systemctl enable hive-server2


 Do let me know the results. Thanks.