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

commit 7e34cabed7876b90a415f9379725fa2e27383379
Author: Zoltan Borok-Nagy <[email protected]>
AuthorDate: Thu Oct 9 18:29:31 2025 +0200

    IMPALA-14481: Use $JAVA instead of java in run-iceberg-rest-server.sh
    
    Using the plain 'java' command in run-iceberg-rest-server.sh might
    result in using a different Java version than what we used for
    compilation.
    
    $JAVA is set in bin/impala-config.sh to the desired Java version,
    and we should use it in our scripts instead of just using 'java'.
    
    Change-Id: I5f9c21de4c85d38dca7690fc110c4c44448840ed
    Reviewed-on: http://gerrit.cloudera.org:8080/23539
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 testdata/bin/run-iceberg-rest-server.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testdata/bin/run-iceberg-rest-server.sh 
b/testdata/bin/run-iceberg-rest-server.sh
index 08bde260f..d2f0138ad 100755
--- a/testdata/bin/run-iceberg-rest-server.sh
+++ b/testdata/bin/run-iceberg-rest-server.sh
@@ -30,6 +30,6 @@ fi
 
 CLASSPATH=$(cat $CP_FILE):"$CLASSPATH"
 
-java -cp 
java/iceberg-rest-catalog-test/target/impala-iceberg-rest-catalog-test-${IMPALA_VERSION}.jar:$CLASSPATH
 \
+$JAVA -cp 
java/iceberg-rest-catalog-test/target/impala-iceberg-rest-catalog-test-${IMPALA_VERSION}.jar:$CLASSPATH
 \
     org.apache.iceberg.rest.IcebergRestCatalogTest $@
 

Reply via email to