Skip to content

Commit

Permalink
BIGTOP-3906. Wrapper script for hive sources wrong default file
Browse files Browse the repository at this point in the history
  • Loading branch information
eubnara committed Feb 4, 2023
1 parent df0dfd0 commit 3f61e41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bigtop-packages/src/common/hive/install_hive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ if [ -e /usr/lib/bigtop-utils/bigtop-detect-javahome ]; then
fi
BIGTOP_DEFAULTS_DIR=\${BIGTOP_DEFAULTS_DIR-$ETC_DEFAULT}
[ -n "\${BIGTOP_DEFAULTS_DIR}" -a -r \${BIGTOP_DEFAULTS_DIR}/hbase ] && . \${BIGTOP_DEFAULTS_DIR}/hbase
[ -n "\${BIGTOP_DEFAULTS_DIR}" -a -r \${BIGTOP_DEFAULTS_DIR}/hive ] && . \${BIGTOP_DEFAULTS_DIR}/hive
export HIVE_HOME=$HIVE_DIR
exec $HIVE_DIR/bin/$file "\$@"
Expand Down Expand Up @@ -238,7 +238,7 @@ cat >>$wrapper <<EOF
BIGTOP_DEFAULTS_DIR=\${BIGTOP_DEFAULTS_DIR-$ETC_DEFAULT}
[ -n "\${BIGTOP_DEFAULTS_DIR}" -a -r \${BIGTOP_DEFAULTS_DIR}/hadoop ] && . \${BIGTOP_DEFAULTS_DIR}/hadoop
[ -n "\${BIGTOP_DEFAULTS_DIR}" -a -r \${BIGTOP_DEFAULTS_DIR}/hive ] && . \${BIGTOP_DEFAULTS_DIR}/hive
# Autodetect JAVA_HOME if not defined
if [ -e /usr/lib/bigtop-utils/bigtop-detect-javahome ]; then
Expand Down

0 comments on commit 3f61e41

Please sign in to comment.