No, it is part of hive-site.xml. As long as HIVE_HOME is defined, $HIVE_HOME/conf should be in CLASSPATH (with -useHCatalog), and HCatLoader should be able to pick "hive.metastore.uris" from hive-site.xml.
On Sun, Nov 9, 2014 at 6:30 PM, lulynn_2008 <lulynn_2...@163.com> wrote: > Hi All, > > From trunk, pig script has added ${HIVE_HOME}/conf into pig classpath. Then > when using -useHCatalog, is it necessary to "export > PIG_OPTS=-Dhive.metastore.uris=thrift://<hostname>:<port>"? > Besides, my hivemetastore is using loca mode, and I am planning to configure > HiveMetaStore to the remote mode. Is there any changes need to do at pig side? > > Thanks -- CONFIDENTIALITY NOTICE NOTICE: This message is intended for the use of the individual or entity to which it is addressed and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any printing, copying, dissemination, distribution, disclosure or forwarding of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and delete it from your system. Thank You.