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=9&rev2=10 -------------------------------------------------- || 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. 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: {{{ $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 }}} - JAVA_HOME, HIVE_HOME, HADOOP_HOME should be correctly set. CLASSPATH should contain Hadoop, Hive (lib and auxlib), and Java jars. + If you execute Java directly, then JAVA_HOME, HIVE_HOME, HADOOP_HOME must be correctly set; CLASSPATH should contain Hadoop, Hive (lib and auxlib), and Java jars. Server Configuration Parameters || Config Param || Config Value || Comment ||
