Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change 
notification.

The "Hive/AdminManual/MetastoreAdmin" page has been changed by JohnSichi.
http://wiki.apache.org/hadoop/Hive/AdminManual/MetastoreAdmin?action=diff&rev1=10&rev2=11

--------------------------------------------------

  || hive.metastore.warehouse.dir || <base hdfs path> || default location for 
Hive tables. ||
  
  === Remote Metastore ===
- In remote metastore setup, all Hive Clients will make a connection a 
metastore server which in turn queries the datastore (MySQL in this example) 
for metadata. Metastore server and client communicate using 
[[http://incubator.apache.org/thrift|Thrift]] Protocol. Starting with hive 
0.5.0, you can start a thrift server by executing the following command
+ In remote metastore setup, all Hive Clients will make a connection a 
metastore server which in turn queries the datastore (MySQL in this example) 
for metadata. Metastore server and client communicate using 
[[http://incubator.apache.org/thrift|Thrift]] Protocol. Starting with Hive 
0.5.0, you can start a thrift server by executing the following command:
  
  {{{
  hive --service metastore
  }}}
  
- In versions of hive earlier than 0.5.0, it's instead necessary to run the 
thrift server via direct execution of Java:
+ In versions of Hive earlier than 0.5.0, it's instead necessary to run the 
thrift server via direct execution of Java:
  
  {{{
  $JAVA_HOME/bin/java  -Xmx1024m 
-Dlog4j.configuration=file://$HIVE_HOME/conf/hms-log4j.properties 
-Djava.library.path=$HADOOP_HOME/lib/native/Linux-amd64-64/ -cp $CLASSPATH 
org.apache.hadoop.hive.metastore.HiveMetaStore

Reply via email to