You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org> on 2024/01/04 01:32:56 UTC

[Impala-ASF-CR] IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/20851


Change subject: IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build
......................................................................

IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

LdapHS2Test.testImpalaExtJdbcTables was added in IMPALA-12502 recently.
The test failed in nightly builds with JDK17. The error happened when
shell script testdata/bin/download-impala-jdbc-driver.sh was invoked
from Java code to copy Impala jdbc driver with hadoop fs commands.

This patch changes code to run the script download-impala-jdbc-driver.sh
from testdata/bin/copy-ext-data-sources.sh, which is invoked when
loading data and jar files for external data source.

Testing:
 - Passed LdapHS2Test.testImpalaExtJdbcTables for JDK17 and default
   build JDK.
 - Passed core tests.

Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
---
M fe/src/test/java/org/apache/impala/customcluster/LdapHS2Test.java
M testdata/bin/copy-ext-data-sources.sh
2 files changed, 5 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/51/20851/1
-- 
To view, visit http://gerrit.cloudera.org:8080/20851
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
Gerrit-Change-Number: 20851
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>

[Impala-ASF-CR] IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

Posted by "Abhishek Rawat (Code Review)" <ge...@cloudera.org>.
Abhishek Rawat has posted comments on this change. ( http://gerrit.cloudera.org:8080/20851 )

Change subject: IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build
......................................................................


Patch Set 1: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/20851
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
Gerrit-Change-Number: 20851
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <gs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Thu, 04 Jan 2024 22:11:45 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

Posted by "Wenzhe Zhou (Code Review)" <ge...@cloudera.org>.
Wenzhe Zhou has posted comments on this change. ( http://gerrit.cloudera.org:8080/20851 )

Change subject: IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build
......................................................................


Patch Set 1:

Thanks Abhishek


-- 
To view, visit http://gerrit.cloudera.org:8080/20851
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
Gerrit-Change-Number: 20851
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <gs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Thu, 04 Jan 2024 22:13:51 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/20851 )

Change subject: IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build
......................................................................


Patch Set 2:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/10122/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/20851
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
Gerrit-Change-Number: 20851
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <gs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Thu, 04 Jan 2024 22:14:37 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/20851 )

Change subject: IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build
......................................................................


Patch Set 2: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/20851
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
Gerrit-Change-Number: 20851
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <gs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Fri, 05 Jan 2024 02:50:46 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/20851 )

Change subject: IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build
......................................................................


Patch Set 2: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/20851
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
Gerrit-Change-Number: 20851
Gerrit-PatchSet: 2
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <gs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Comment-Date: Thu, 04 Jan 2024 22:14:36 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/20851 )

Change subject: IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/14866/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/20851
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
Gerrit-Change-Number: 20851
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <gs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Thu, 04 Jan 2024 01:59:43 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/20851 )

Change subject: IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build
......................................................................

IMPALA-12671: Fix LdapHS2Test.testImpalaExtJdbcTables for JDK17 build

LdapHS2Test.testImpalaExtJdbcTables was added in IMPALA-12502 recently.
The test failed in nightly builds with JDK17. The error happened when
shell script testdata/bin/download-impala-jdbc-driver.sh was invoked
from Java code to copy Impala jdbc driver with hadoop fs commands.

This patch changes code to run the script download-impala-jdbc-driver.sh
from testdata/bin/copy-ext-data-sources.sh, which is invoked when
loading data and jar files for external data source.

Testing:
 - Passed LdapHS2Test.testImpalaExtJdbcTables for JDK17 and default
   build JDK.
 - Passed core tests.

Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
Reviewed-on: http://gerrit.cloudera.org:8080/20851
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M fe/src/test/java/org/apache/impala/customcluster/LdapHS2Test.java
M testdata/bin/copy-ext-data-sources.sh
2 files changed, 5 insertions(+), 6 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/20851
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If62fe207978301b8ce95f5af30f605e3bb8caa28
Gerrit-Change-Number: 20851
Gerrit-PatchSet: 3
Gerrit-Owner: Wenzhe Zhou <wz...@cloudera.com>
Gerrit-Reviewer: Abhishek Rawat <ar...@cloudera.com>
Gerrit-Reviewer: Anonymous Coward <gs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Wenzhe Zhou <wz...@cloudera.com>