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/09/01 02:38:44 UTC

svn commit: r1621650 - /hive/trunk/bin/hive

Author: hashutosh
Date: Mon Sep  1 00:38:44 2014
New Revision: 1621650

URL: http://svn.apache.org/r1621650
Log:
HIVE-7531 : auxpath parameter does not handle paths relative to current working directory. (Abhishek Agarwal via Ashutosh Chauhan)

Modified:
    hive/trunk/bin/hive

Modified: hive/trunk/bin/hive
URL: http://svn.apache.org/viewvc/hive/trunk/bin/hive?rev=1621650&r1=1621649&r2=1621650&view=diff
==============================================================================
--- hive/trunk/bin/hive (original)
+++ hive/trunk/bin/hive Mon Sep  1 00:38:44 2014
@@ -99,7 +99,8 @@ done
 
 # add the auxillary jars such as serdes
 if [ -d "${HIVE_AUX_JARS_PATH}" ]; then
-  for f in ${HIVE_AUX_JARS_PATH}/*.jar; do
+  hive_aux_jars_abspath=`cd ${HIVE_AUX_JARS_PATH} && pwd`
+  for f in $hive_aux_jars_abspath/*.jar; do
     if [[ ! -f $f ]]; then
         continue;
     fi