You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Quanlong Huang (Code Review)" <ge...@cloudera.org> on 2019/03/09 11:32:58 UTC

[Impala-ASF-CR](2.x) IMPALA-6802 (part 2): Clean up authorization tests

Hello Alex Behm, Impala Public Jenkins,

I'd like you to do a code review. Please visit

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

to review the following change.


Change subject: IMPALA-6802 (part 2): Clean up authorization tests
......................................................................

IMPALA-6802 (part 2): Clean up authorization tests

The second part of this patch is to rewrite the following
authorization tests:
- insert
- truncate
- load
- use

Testing:
- Added new authorization tests
- Ran all front-end tests

Cherry-picks: not for 2.x

Change-Id: Ica5bfd2f12bf0cc8ebe78464a523a7805366f67b
Reviewed-on: http://gerrit.cloudera.org:8080/10269
Reviewed-by: Alex Behm <al...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M fe/src/test/java/org/apache/impala/analysis/AuthorizationTestV2.java
1 file changed, 282 insertions(+), 23 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: 2.x
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica5bfd2f12bf0cc8ebe78464a523a7805366f67b
Gerrit-Change-Number: 12709
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>

[Impala-ASF-CR](2.x) IMPALA-6802 (part 2): Clean up authorization tests

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

Change subject: IMPALA-6802 (part 2): Clean up authorization tests
......................................................................


Patch Set 1:

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


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: 2.x
Gerrit-MessageType: comment
Gerrit-Change-Id: Ica5bfd2f12bf0cc8ebe78464a523a7805366f67b
Gerrit-Change-Number: 12709
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Sat, 09 Mar 2019 11:34:22 +0000
Gerrit-HasComments: No

[Impala-ASF-CR](2.x) IMPALA-6802 (part 2): Clean up authorization tests

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

Change subject: IMPALA-6802 (part 2): Clean up authorization tests
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/12709/1/fe/src/test/java/org/apache/impala/analysis/AuthorizationTestV2.java
File fe/src/test/java/org/apache/impala/analysis/AuthorizationTestV2.java:

http://gerrit.cloudera.org:8080/#/c/12709/1/fe/src/test/java/org/apache/impala/analysis/AuthorizationTestV2.java@110
PS1, Line 110:     verifyPrivilegeReqs("select alltypes.* from functional.alltypes", expectedAuthorizables);
line too long (93 > 90)


http://gerrit.cloudera.org:8080/#/c/12709/1/fe/src/test/java/org/apache/impala/analysis/AuthorizationTestV2.java@467
PS1, Line 467:         .error(selectError("functional.alltypes_view"), onDatabase("functional", allExcept(
line too long (91 > 90)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: 2.x
Gerrit-MessageType: comment
Gerrit-Change-Id: Ica5bfd2f12bf0cc8ebe78464a523a7805366f67b
Gerrit-Change-Number: 12709
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Sat, 09 Mar 2019 11:34:00 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR](2.x) IMPALA-6802 (part 2): Clean up authorization tests

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

Change subject: IMPALA-6802 (part 2): Clean up authorization tests
......................................................................


Patch Set 1: Code-Review+2


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: 2.x
Gerrit-MessageType: comment
Gerrit-Change-Id: Ica5bfd2f12bf0cc8ebe78464a523a7805366f67b
Gerrit-Change-Number: 12709
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Sat, 09 Mar 2019 16:28:18 +0000
Gerrit-HasComments: No

[Impala-ASF-CR](2.x) IMPALA-6802 (part 2): Clean up authorization tests

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

Change subject: IMPALA-6802 (part 2): Clean up authorization tests
......................................................................


Patch Set 1: Verified+1


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

Gerrit-Project: Impala-ASF
Gerrit-Branch: 2.x
Gerrit-MessageType: comment
Gerrit-Change-Id: Ica5bfd2f12bf0cc8ebe78464a523a7805366f67b
Gerrit-Change-Number: 12709
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Sat, 09 Mar 2019 15:23:45 +0000
Gerrit-HasComments: No

[Impala-ASF-CR](2.x) IMPALA-6802 (part 2): Clean up authorization tests

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

Change subject: IMPALA-6802 (part 2): Clean up authorization tests
......................................................................


Patch Set 1:

Build Successful 

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: 2.x
Gerrit-MessageType: comment
Gerrit-Change-Id: Ica5bfd2f12bf0cc8ebe78464a523a7805366f67b
Gerrit-Change-Number: 12709
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Sat, 09 Mar 2019 12:12:50 +0000
Gerrit-HasComments: No

[Impala-ASF-CR](2.x) IMPALA-6802 (part 2): Clean up authorization tests

Posted by "Quanlong Huang (Code Review)" <ge...@cloudera.org>.
Quanlong Huang has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/12709 )

Change subject: IMPALA-6802 (part 2): Clean up authorization tests
......................................................................

IMPALA-6802 (part 2): Clean up authorization tests

The second part of this patch is to rewrite the following
authorization tests:
- insert
- truncate
- load
- use

Testing:
- Added new authorization tests
- Ran all front-end tests

Cherry-picks: not for 2.x

Change-Id: Ica5bfd2f12bf0cc8ebe78464a523a7805366f67b
Reviewed-on: http://gerrit.cloudera.org:8080/10269
Reviewed-by: Alex Behm <al...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-on: http://gerrit.cloudera.org:8080/12709
Reviewed-by: Fredy Wijaya <fw...@cloudera.com>
---
M fe/src/test/java/org/apache/impala/analysis/AuthorizationTestV2.java
1 file changed, 282 insertions(+), 23 deletions(-)

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

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

Gerrit-Project: Impala-ASF
Gerrit-Branch: 2.x
Gerrit-MessageType: merged
Gerrit-Change-Id: Ica5bfd2f12bf0cc8ebe78464a523a7805366f67b
Gerrit-Change-Number: 12709
Gerrit-PatchSet: 2
Gerrit-Owner: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Alex Behm <al...@cloudera.com>
Gerrit-Reviewer: Fredy Wijaya <fw...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>