You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2014/03/13 23:54:28 UTC

svn commit: r1577367 - /hive/trunk/bin/ext/schemaTool.sh

Author: hashutosh
Date: Thu Mar 13 22:54:27 2014
New Revision: 1577367

URL: http://svn.apache.org/r1577367
Log:
HIVE-6110 : schematool errors out when HIVE_OPTS is set (Venki Korukanti via Ashutosh Chauhan)

Modified:
    hive/trunk/bin/ext/schemaTool.sh

Modified: hive/trunk/bin/ext/schemaTool.sh
URL: http://svn.apache.org/viewvc/hive/trunk/bin/ext/schemaTool.sh?rev=1577367&r1=1577366&r2=1577367&view=diff
==============================================================================
--- hive/trunk/bin/ext/schemaTool.sh (original)
+++ hive/trunk/bin/ext/schemaTool.sh Thu Mar 13 22:54:27 2014
@@ -17,12 +17,13 @@ THISSERVICE=schemaTool
 export SERVICE_LIST="${SERVICE_LIST}${THISSERVICE} "
 
 schemaTool() {
-
+  HIVE_OPTS=''
   CLASS=org.apache.hive.beeline.HiveSchemaTool
   execHiveCmd $CLASS "$@"
 }
 
 schemaTool_help () {
+  HIVE_OPTS=''
   CLASS=org.apache.hive.beeline.HiveSchemaTool
   execHiveCmd $CLASS "--help"
 }