mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-14450: (Addendum) Fix numeric comparison
Fix shell comparison to use string equality so it works for all POSIX shells instead of just zsh. Change-Id: If9b9ed7f59e71d024ec674bb30c57274567fb2a3 Reviewed-on: http://gerrit.cloudera.org:8080/23444 Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com> Tested-by: Michael Smith <michael.smith@cloudera.com>
This commit is contained in:
@@ -1280,7 +1280,7 @@ fi
|
||||
|
||||
# Check for minimum required Java version
|
||||
# Only issue Java version warning when running Java 7.
|
||||
if [[ $IMPALA_JAVA_TARGET -eq 1.7 ]]; then
|
||||
if [[ $IMPALA_JAVA_TARGET == 1.7 ]]; then
|
||||
cat << EOF
|
||||
|
||||
WARNING: Your development environment is configured for Hadoop 3 and Java 7. Hadoop 3
|
||||
|
||||
Reference in New Issue
Block a user