Skip to content

Commit 3f61e41

Browse files
committed
BIGTOP-3906. Wrapper script for hive sources wrong default file
1 parent df0dfd0 commit 3f61e41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bigtop-packages/src/common/hive/install_hive.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ if [ -e /usr/lib/bigtop-utils/bigtop-detect-javahome ]; then
166166
fi
167167
168168
BIGTOP_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
171171
export HIVE_HOME=$HIVE_DIR
172172
exec $HIVE_DIR/bin/$file "\$@"
@@ -238,7 +238,7 @@ cat >>$wrapper <<EOF
238238
239239
240240
BIGTOP_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
244244
if [ -e /usr/lib/bigtop-utils/bigtop-detect-javahome ]; then

0 commit comments

Comments
 (0)