File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
bigtop-packages/src/common/hive Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ if [ -e /usr/lib/bigtop-utils/bigtop-detect-javahome ]; then
166166fi
167167
168168BIGTOP_DEFAULTS_DIR=\$ {BIGTOP_DEFAULTS_DIR-$ETC_DEFAULT }
169- [ -n "\$ {BIGTOP_DEFAULTS_DIR}" -a -r \$ {BIGTOP_DEFAULTS_DIR}/hbase ] && . \$ {BIGTOP_DEFAULTS_DIR}/hbase
169+ [ -n "\$ {BIGTOP_DEFAULTS_DIR}" -a -r \$ {BIGTOP_DEFAULTS_DIR}/hive ] && . \$ {BIGTOP_DEFAULTS_DIR}/hive
170170
171171export HIVE_HOME=$HIVE_DIR
172172exec $HIVE_DIR /bin/$file "\$ @"
@@ -238,7 +238,7 @@ cat >>$wrapper <<EOF
238238
239239
240240BIGTOP_DEFAULTS_DIR=\$ {BIGTOP_DEFAULTS_DIR-$ETC_DEFAULT }
241- [ -n "\$ {BIGTOP_DEFAULTS_DIR}" -a -r \$ {BIGTOP_DEFAULTS_DIR}/hadoop ] && . \$ {BIGTOP_DEFAULTS_DIR}/hadoop
241+ [ -n "\$ {BIGTOP_DEFAULTS_DIR}" -a -r \$ {BIGTOP_DEFAULTS_DIR}/hive ] && . \$ {BIGTOP_DEFAULTS_DIR}/hive
242242
243243# Autodetect JAVA_HOME if not defined
244244if [ -e /usr/lib/bigtop-utils/bigtop-detect-javahome ]; then
You can’t perform that action at this time.
0 commit comments