Starting the Hive Metastore in CDH
Cloudera recommends that you deploy the Hive metastore, which stores the metadata for Hive tables and partitions, in "remote mode." In this mode the metastore service runs in its own JVM process and other services, such as HiveServer2, HCatalog, and Apache Impala communicate with the metastore using the Thrift network API.
After installing and configuring the Hive metastore, you can start the service.
To run the metastore as a daemon, the command is:
sudo service hive-metastore start