This is an automated email from the ASF dual-hosted git repository.

michaelsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git


The following commit(s) were added to refs/heads/master by this push:
     new 8a80ede69 IMPALA-14450: (Addendum) Fix numeric comparison
8a80ede69 is described below

commit 8a80ede69b6bdcd10701f16cc014d028c3b3729e
Author: Michael Smith <[email protected]>
AuthorDate: Fri Sep 19 11:27:14 2025 -0700

    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 <[email protected]>
    Tested-by: Michael Smith <[email protected]>
---
 bin/impala-config.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/impala-config.sh b/bin/impala-config.sh
index faad1da0e..7be1417a6 100755
--- a/bin/impala-config.sh
+++ b/bin/impala-config.sh
@@ -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

Reply via email to