- Upgrade Hive and HCatalog. On the Hive and HCatalog host machines, execute the following commands: - For RHEL/CentOS: - yum upgrade hive hcatalog 
- For SLES: - zypper update hive hcatalog yast --update hcatalog hive 
 
- Start Hive. On the Hive Metastore host machine, execute the following command: - sudo su -l $HIVE_USER -c "nohup hive --service metastore > $HIVE_LOG_DIR/hive.out 2> $HIVE_LOG_DIR/hive.log &"
- Start Hive Server2. On the Hive Server2 host machine, execute the following command: - sudo su -l $HIVE_USER -c "nohup /usr/lib/hive/bin/hiveserver2 -hiveconf hive.metastore.uris=\" \" > $HIVE_LOG_DIR/hiveserver2.out 2> $HIVE_LOG_DIR/hiveserver2.log &" - where - $HIVE_USERis the Hive Service user. For example,- hive.
- $HIVE_LOG_DIRis the directory where Hive server logs are stored (example:- /var/log/hive).
 


