Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.0, 0.9.0, 0.10.0, 0.12.0
-
None
-
None
Description
Hive script (bin/hive) replaces the value of AUX_CLASSPATH with the value of HIVE_AUX_JARS_PATH if HIVE_AUX_JARS_PATH is defined. This is not desirable because user uses the former to include additional classes when starting hive, while using the latter to specify additional jars that are needed to run MR jobs. The problem can be demonstrated with the script snippet:
elif [ "${HIVE_AUX_JARS_PATH}" != "" ]; then HIVE_AUX_JARS_PATH=`echo $HIVE_AUX_JARS_PATH | sed 's/,/:/g'` if $cygwin; then HIVE_AUX_JARS_PATH=`cygpath -p -w "$HIVE_AUX_JARS_PATH"` HIVE_AUX_JARS_PATH=`echo $HIVE_AUX_JARS_PATH | sed 's/;/,/g'` fi AUX_CLASSPATH=${HIVE_AUX_JARS_PATH} AUX_PARAM="file://$(echo ${HIVE_AUX_JARS_PATH} | sed 's/:/,file:\/\//g')" fi
AUX_CLASSPATH should be respected regardless whether HIVE_AUX_JARS_PATH is defined.
Attachments
Attachments
Issue Links
- is related to
-
HIVE-5410 Hive command line option --auxpath still does not work post HIVE-5363
- Closed