hive open metastore Service

We need to open the hive metastore service hive server

The first way

hive --service metastore -p 9083 &

The second way
if you specify hive.metastore.uris in hive-site.xml in the port

  <property>
          <name>hive.metastore.uris</name>
          <value>thrift://hadoop003:9083</value>
   </property>

You can not start the specified port

hive --service metastore

Guess you like

Origin blog.51cto.com/14309075/2403193