You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org> on 2025/07/03 14:06:07 UTC

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Zoltan Borok-Nagy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23118


Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................

IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

This patch adds authorization tests for the case when
Impala only connects to an Iceberg REST Catalog. To make
the tests faster it also implements REFRESH AUTHORIZATION
without CatalogD.

Testing:
 * custom cluster tests added with Ranger + Iceberg REST Catalog

Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
---
M be/src/exec/catalog-op-executor.cc
M be/src/service/frontend.cc
M be/src/service/frontend.h
M be/src/service/impala-server.cc
M fe/src/main/java/org/apache/impala/service/Frontend.java
M fe/src/main/java/org/apache/impala/service/JniFrontend.java
A testdata/workloads/functional-query/queries/QueryTest/iceberg-rest-fgac.test
M tests/authorization/test_ranger.py
A tests/common/iceberg_rest_server.py
M tests/custom_cluster/test_iceberg_rest_catalog.py
10 files changed, 231 insertions(+), 34 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Zoltan Borok-Nagy has posted comments on this change. ( http://gerrit.cloudera.org:8080/23118 )

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 6:

PS6 is a rebase.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 6
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Mon, 14 Jul 2025 14:38:12 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 2:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/19675/ : 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/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Comment-Date: Thu, 03 Jul 2025 15:34:05 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 4: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/12153/


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 4
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 11 Jul 2025 21:20:03 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 6:

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 6
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Jul 2025 14:53:06 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 4:

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 4
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 11 Jul 2025 15:07:00 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Hello Peter Rozsa, Noemi Pap-Takacs, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23118

to look at the new patch set (#3).

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................

IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

This patch adds authorization tests for the case when
Impala only connects to an Iceberg REST Catalog. To make
the tests faster it also implements REFRESH AUTHORIZATION
without CatalogD.

Testing:
 * custom cluster tests added with Ranger + Iceberg REST Catalog

Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
---
M be/src/exec/catalog-op-executor.cc
M be/src/service/frontend.cc
M be/src/service/frontend.h
M be/src/service/impala-server.cc
M fe/src/main/java/org/apache/impala/service/Frontend.java
M fe/src/main/java/org/apache/impala/service/JniFrontend.java
A testdata/workloads/functional-query/queries/QueryTest/iceberg-rest-fgac.test
M tests/authorization/test_ranger.py
A tests/common/iceberg_rest_server.py
M tests/custom_cluster/test_iceberg_rest_catalog.py
10 files changed, 239 insertions(+), 34 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/23118/3
-- 
To view, visit http://gerrit.cloudera.org:8080/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 3
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 6:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/19866/ : 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/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 6
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Mon, 14 Jul 2025 15:03:24 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Zoltan Borok-Nagy has posted comments on this change. ( http://gerrit.cloudera.org:8080/23118 )

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 4:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py
File tests/authorization/test_ranger.py:

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py@3306
PS2, Line 3306: 
> > Or do you mean to run every query from iceberg-rest-catalog.test and catc
Restructured the tests a bit and added further statements from iceberg-rest-catalog.test to iceberg-rest-fgac.test



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 4
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 11 Jul 2025 15:06:43 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Noemi Pap-Takacs (Code Review)" <ge...@cloudera.org>.
Noemi Pap-Takacs has posted comments on this change. ( http://gerrit.cloudera.org:8080/23118 )

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 3: Code-Review+1

(2 comments)

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py
File tests/authorization/test_ranger.py:

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py@3306
PS2, Line 3306: 
> Or do you mean to run every query from iceberg-rest-catalog.test and catch the errors?

Yes, that is what I had in mind, but thanks for adding the extra case.


http://gerrit.cloudera.org:8080/#/c/23118/2/tests/common/iceberg_rest_server.py
File tests/common/iceberg_rest_server.py:

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/common/iceberg_rest_server.py@18
PS2, Line 18: from __future__ import absolute_import, division, print_function
> These imports are mandatory, otherwise the job gerrit-code-review-checks fa
I see, thanks!



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 3
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 11 Jul 2025 12:47:39 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 4:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/19828/ : 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/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 4
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 11 Jul 2025 15:31:46 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 2: Verified-1

Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/12106/


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Comment-Date: Thu, 03 Jul 2025 21:11:31 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Noemi Pap-Takacs (Code Review)" <ge...@cloudera.org>.
Noemi Pap-Takacs has posted comments on this change. ( http://gerrit.cloudera.org:8080/23118 )

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py
File tests/authorization/test_ranger.py:

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py@3306
PS2, Line 3306: """Run iceberg-rest-catalog.test with all the required privileges."""
Can you add a negative test as well?


http://gerrit.cloudera.org:8080/#/c/23118/2/tests/common/iceberg_rest_server.py
File tests/common/iceberg_rest_server.py:

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/common/iceberg_rest_server.py@18
PS2, Line 18: from __future__ import absolute_import, division, print_function
This import was added after PS1, might it be unused?



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Mon, 07 Jul 2025 08:41:31 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 3:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/19753/ : 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/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 3
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Tue, 08 Jul 2025 11:57:23 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Noemi Pap-Takacs (Code Review)" <ge...@cloudera.org>.
Noemi Pap-Takacs has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/23118 )

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................

IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

This patch adds authorization tests for the case when
Impala only connects to an Iceberg REST Catalog. To make
the tests faster it also implements REFRESH AUTHORIZATION
without CatalogD.

Testing:
 * custom cluster tests added with Ranger + Iceberg REST Catalog

Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Reviewed-on: http://gerrit.cloudera.org:8080/23118
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Noemi Pap-Takacs <np...@cloudera.com>
---
M be/src/exec/catalog-op-executor.cc
M be/src/service/frontend.cc
M be/src/service/frontend.h
M be/src/service/impala-server.cc
M fe/src/main/java/org/apache/impala/service/Frontend.java
M fe/src/main/java/org/apache/impala/service/JniFrontend.java
A testdata/workloads/functional-query/queries/QueryTest/iceberg-rest-fgac.test
M tests/authorization/test_ranger.py
A tests/common/iceberg_rest_server.py
M tests/custom_cluster/test_iceberg_rest_catalog.py
10 files changed, 333 insertions(+), 34 deletions(-)

Approvals:
  Impala Public Jenkins: Verified
  Noemi Pap-Takacs: Looks good to me, approved

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 7
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 1:

(6 comments)

gerrit-auto-critic failed. You can reproduce it locally using command:

  python3 bin/jenkins/critique-gerrit-review.py --dryrun

To run it, you might need a virtual env with Python3's venv installed.

http://gerrit.cloudera.org:8080/#/c/23118/1/tests/authorization/test_ranger.py
File tests/authorization/test_ranger.py:

http://gerrit.cloudera.org:8080/#/c/23118/1/tests/authorization/test_ranger.py@3244
PS1, Line 3244: class TestRangerIcebergRestCatalog(TestRanger):
flake8: E302 expected 2 blank lines, found 1


http://gerrit.cloudera.org:8080/#/c/23118/1/tests/authorization/test_ranger.py@3294
PS1, Line 3294: )
flake8: E501 line too long (91 > 90 characters)


http://gerrit.cloudera.org:8080/#/c/23118/1/tests/authorization/test_ranger.py@3298
PS1, Line 3298: )
flake8: E501 line too long (92 > 90 characters)


http://gerrit.cloudera.org:8080/#/c/23118/1/tests/authorization/test_ranger.py@3319
PS1, Line 3319: 
flake8: W292 no newline at end of file


http://gerrit.cloudera.org:8080/#/c/23118/1/tests/common/iceberg_rest_server.py
File tests/common/iceberg_rest_server.py:

http://gerrit.cloudera.org:8080/#/c/23118/1/tests/common/iceberg_rest_server.py@30
PS1, Line 30: class IcebergRestServer(object):
flake8: E302 expected 2 blank lines, found 1


http://gerrit.cloudera.org:8080/#/c/23118/1/tests/common/iceberg_rest_server.py@71
PS1, Line 71: 
flake8: W292 no newline at end of file



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Comment-Date: Thu, 03 Jul 2025 14:08:00 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Zoltan Borok-Nagy has posted comments on this change. ( http://gerrit.cloudera.org:8080/23118 )

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 2:

(3 comments)

Thanks for the comments!

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py
File tests/authorization/test_ranger.py:

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py@3237
PS2, Line 3237: REST_SERVER_PORT = 9084
              : IMPALA_HOME = os.environ['IMPALA_HOME']
> nit: not needed
Done


http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py@3306
PS2, Line 3306: """Run iceberg-rest-catalog.test with all the required privileges."""
> Can you add a negative test as well?
Added a select query against table 'parquet_orc' for which we don't have privilege.

Row filtering is tested via 'SELECT distinct country FROM airports_parquet;'

Or do you mean to run every query from iceberg-rest-catalog.test and catch the errors?


http://gerrit.cloudera.org:8080/#/c/23118/2/tests/common/iceberg_rest_server.py
File tests/common/iceberg_rest_server.py:

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/common/iceberg_rest_server.py@18
PS2, Line 18: from __future__ import absolute_import, division, print_function
> This import was added after PS1, might it be unused?
These imports are mandatory, otherwise the job gerrit-code-review-checks fails, see failure for PS1: https://jenkins.impala.io/job/gerrit-code-review-checks/19673/artifact/https%3A%5E%5Ejenkins.impala.io%5Ejob%5Epython-check-ub2004%5E8275%5E.log



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Tue, 08 Jul 2025 11:32:24 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Hello Peter Rozsa, Noemi Pap-Takacs, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23118

to look at the new patch set (#2).

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................

IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

This patch adds authorization tests for the case when
Impala only connects to an Iceberg REST Catalog. To make
the tests faster it also implements REFRESH AUTHORIZATION
without CatalogD.

Testing:
 * custom cluster tests added with Ranger + Iceberg REST Catalog

Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
---
M be/src/exec/catalog-op-executor.cc
M be/src/service/frontend.cc
M be/src/service/frontend.h
M be/src/service/impala-server.cc
M fe/src/main/java/org/apache/impala/service/Frontend.java
M fe/src/main/java/org/apache/impala/service/JniFrontend.java
A testdata/workloads/functional-query/queries/QueryTest/iceberg-rest-fgac.test
M tests/authorization/test_ranger.py
A tests/common/iceberg_rest_server.py
M tests/custom_cluster/test_iceberg_rest_catalog.py
10 files changed, 236 insertions(+), 34 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/23118/2
-- 
To view, visit http://gerrit.cloudera.org:8080/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Zoltan Borok-Nagy has posted comments on this change. ( http://gerrit.cloudera.org:8080/23118 )

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 2:

GVO failed with IMPALA-14198


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Fri, 04 Jul 2025 08:11:32 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 6: Verified+1


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 6
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Tue, 15 Jul 2025 21:21:20 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Noemi Pap-Takacs (Code Review)" <ge...@cloudera.org>.
Noemi Pap-Takacs has posted comments on this change. ( http://gerrit.cloudera.org:8080/23118 )

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 6: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 6
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Wed, 16 Jul 2025 09:50:01 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 5:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/19865/ : 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/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 5
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Mon, 14 Jul 2025 13:29:05 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 1:

Build Failed 

https://jenkins.impala.io/job/gerrit-code-review-checks/19673/ : Initial code review checks failed. See linked job for details on the failure.


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Comment-Date: Thu, 03 Jul 2025 14:32:39 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 3: Code-Review+1


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 3
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Tue, 08 Jul 2025 14:27:34 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Hello Peter Rozsa, Noemi Pap-Takacs, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23118

to look at the new patch set (#4).

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................

IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

This patch adds authorization tests for the case when
Impala only connects to an Iceberg REST Catalog. To make
the tests faster it also implements REFRESH AUTHORIZATION
without CatalogD.

Testing:
 * custom cluster tests added with Ranger + Iceberg REST Catalog

Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
---
M be/src/exec/catalog-op-executor.cc
M be/src/service/frontend.cc
M be/src/service/frontend.h
M be/src/service/impala-server.cc
M fe/src/main/java/org/apache/impala/service/Frontend.java
M fe/src/main/java/org/apache/impala/service/JniFrontend.java
A testdata/workloads/functional-query/queries/QueryTest/iceberg-rest-fgac.test
M tests/authorization/test_ranger.py
A tests/common/iceberg_rest_server.py
M tests/custom_cluster/test_iceberg_rest_catalog.py
10 files changed, 280 insertions(+), 34 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/23118/4
-- 
To view, visit http://gerrit.cloudera.org:8080/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 4
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py
File tests/authorization/test_ranger.py:

http://gerrit.cloudera.org:8080/#/c/23118/2/tests/authorization/test_ranger.py@3237
PS2, Line 3237: REST_SERVER_PORT = 9084
              : IMPALA_HOME = os.environ['IMPALA_HOME']
nit: not needed



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Comment-Date: Mon, 07 Jul 2025 12:20:34 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

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

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Patch Set 2:

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Comment-Date: Thu, 03 Jul 2025 15:05:13 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Zoltan Borok-Nagy has removed a vote on this change.

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................


Removed Verified-1 by Impala Public Jenkins <im...@cloudera.com>
-- 
To view, visit http://gerrit.cloudera.org:8080/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 2
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Hello Peter Rozsa, Noemi Pap-Takacs, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23118

to look at the new patch set (#5).

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................

IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

This patch adds authorization tests for the case when
Impala only connects to an Iceberg REST Catalog. To make
the tests faster it also implements REFRESH AUTHORIZATION
without CatalogD.

Testing:
 * custom cluster tests added with Ranger + Iceberg REST Catalog

Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
---
M be/src/exec/catalog-op-executor.cc
M be/src/service/frontend.cc
M be/src/service/frontend.h
M be/src/service/impala-server.cc
M fe/src/main/java/org/apache/impala/service/Frontend.java
M fe/src/main/java/org/apache/impala/service/JniFrontend.java
A testdata/workloads/functional-query/queries/QueryTest/iceberg-rest-fgac.test
M tests/authorization/test_ranger.py
A tests/common/iceberg_rest_server.py
M tests/custom_cluster/test_iceberg_rest_catalog.py
10 files changed, 333 insertions(+), 34 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/23118/5
-- 
To view, visit http://gerrit.cloudera.org:8080/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 5
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>

[Impala-ASF-CR] IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

Posted by "Zoltan Borok-Nagy (Code Review)" <ge...@cloudera.org>.
Hello Peter Rozsa, Noemi Pap-Takacs, Impala Public Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/23118

to look at the new patch set (#6).

Change subject: IMPALA-14017: Add Ranger tests to Iceberg REST Catalog
......................................................................

IMPALA-14017: Add Ranger tests to Iceberg REST Catalog

This patch adds authorization tests for the case when
Impala only connects to an Iceberg REST Catalog. To make
the tests faster it also implements REFRESH AUTHORIZATION
without CatalogD.

Testing:
 * custom cluster tests added with Ranger + Iceberg REST Catalog

Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
---
M be/src/exec/catalog-op-executor.cc
M be/src/service/frontend.cc
M be/src/service/frontend.h
M be/src/service/impala-server.cc
M fe/src/main/java/org/apache/impala/service/Frontend.java
M fe/src/main/java/org/apache/impala/service/JniFrontend.java
A testdata/workloads/functional-query/queries/QueryTest/iceberg-rest-fgac.test
M tests/authorization/test_ranger.py
A tests/common/iceberg_rest_server.py
M tests/custom_cluster/test_iceberg_rest_catalog.py
10 files changed, 333 insertions(+), 34 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/18/23118/6
-- 
To view, visit http://gerrit.cloudera.org:8080/23118
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I30d506e04537c5ca878ab9cf58792bc8a6b560c3
Gerrit-Change-Number: 23118
Gerrit-PatchSet: 6
Gerrit-Owner: Zoltan Borok-Nagy <bo...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Noemi Pap-Takacs <np...@cloudera.com>
Gerrit-Reviewer: Peter Rozsa <pr...@cloudera.com>
Gerrit-Reviewer: Zoltan Borok-Nagy <bo...@cloudera.com>