Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-1884. Support Bucket ACL operations for OM HA. #1202

Merged
merged 15 commits into from
Aug 9, 2019

Conversation

bharatviswa504
Copy link
Contributor

@bharatviswa504 bharatviswa504 commented Aug 1, 2019

In this PR implemented add/set/remove ACL for the bucket.

@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

Copy link
Contributor

@xiaoyuyao xiaoyuyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall. A few comments added inline.

@hadoop-yetus

This comment has been minimized.

@bharatviswa504 bharatviswa504 changed the title HDDS-1884. Support Bucket addACL operations for OM HA. HDDS-1884. Support Bucket ACL operations for OM HA. Aug 2, 2019
@bharatviswa504
Copy link
Contributor Author

Now it is ready for review.

@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

@apache apache deleted a comment from hadoop-yetus Aug 2, 2019
@hadoop-yetus

This comment has been minimized.

@hadoop-yetus

This comment has been minimized.

Copy link
Contributor

@xiaoyuyao xiaoyuyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bharatviswa504 for the patch. It LGTM overall. A few comments added inline.

@bharatviswa504
Copy link
Contributor Author

Thank You @xiaoyuyao for the review.
I have addressed review comments.

@xiaoyuyao
Copy link
Contributor

@bharatviswa504 The latest update LGTM. Let's rebase the PR to get a clean CI.

@bharatviswa504
Copy link
Contributor Author

/retest

@bharatviswa504
Copy link
Contributor Author

Thank You @xiaoyuyao for the review.
Rebased the PR with the latest trunk.

@bharatviswa504
Copy link
Contributor Author

/retest

@bharatviswa504
Copy link
Contributor Author

/retest

@apache apache deleted a comment from hadoop-yetus Aug 8, 2019
@apache apache deleted a comment from hadoop-yetus Aug 8, 2019
@apache apache deleted a comment from hadoop-yetus Aug 8, 2019
@apache apache deleted a comment from hadoop-yetus Aug 8, 2019
@apache apache deleted a comment from hadoop-yetus Aug 8, 2019
@bharatviswa504
Copy link
Contributor Author

/retest

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 43 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
0 mvndep 15 Maven dependency ordering for branch
+1 mvninstall 592 trunk passed
+1 compile 374 trunk passed
+1 checkstyle 75 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 878 branch has no errors when building and testing our client artifacts.
+1 javadoc 162 trunk passed
0 spotbugs 420 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 618 trunk passed
-0 patch 472 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 22 Maven dependency ordering for patch
+1 mvninstall 545 the patch passed
+1 compile 381 the patch passed
+1 cc 381 the patch passed
+1 javac 381 the patch passed
-0 checkstyle 43 hadoop-ozone: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 mvnsite 0 the patch passed
+1 whitespace 1 The patch has no whitespace issues.
+1 shadedclient 681 patch has no errors when building and testing our client artifacts.
+1 javadoc 164 the patch passed
+1 findbugs 636 the patch passed
_ Other Tests _
+1 unit 324 hadoop-hdds in the patch passed.
-1 unit 2226 hadoop-ozone in the patch failed.
+1 asflicense 40 The patch does not generate ASF License warnings.
8037
Reason Tests
Failed junit tests hadoop.ozone.om.TestKeyManagerImpl
hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures
hadoop.ozone.client.rpc.TestOzoneRpcClientWithRatis
hadoop.ozone.client.rpc.TestOzoneRpcClient
hadoop.ozone.om.TestScmSafeMode
hadoop.ozone.om.TestOzoneManagerHA
hadoop.ozone.client.rpc.TestMultiBlockWritesWithDnFailures
hadoop.ozone.client.rpc.TestSecureOzoneRpcClient
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/19/artifact/out/Dockerfile
GITHUB PR #1202
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc
uname Linux b985ae6f5a93 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 6ad9a11
Default Java 1.8.0_212
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/19/artifact/out/diff-checkstyle-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/19/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/19/testReport/
Max. process+thread count 4685 (vs. ulimit of 5500)
modules C: hadoop-ozone/common hadoop-ozone/ozone-manager hadoop-ozone/integration-test U: hadoop-ozone
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/19/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 121 Docker mode activated.
_ Prechecks _
+1 dupname 1 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 9 new or modified test files.
_ trunk Compile Tests _
0 mvndep 12 Maven dependency ordering for branch
+1 mvninstall 618 trunk passed
+1 compile 368 trunk passed
+1 checkstyle 67 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 855 branch has no errors when building and testing our client artifacts.
+1 javadoc 161 trunk passed
0 spotbugs 443 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 645 trunk passed
-0 patch 481 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 18 Maven dependency ordering for patch
+1 mvninstall 573 the patch passed
+1 compile 368 the patch passed
+1 cc 368 the patch passed
+1 javac 368 the patch passed
+1 checkstyle 68 the patch passed
+1 mvnsite 0 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 692 patch has no errors when building and testing our client artifacts.
+1 javadoc 153 the patch passed
-1 findbugs 442 hadoop-ozone generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
+1 unit 403 hadoop-hdds in the patch passed.
-1 unit 2925 hadoop-ozone in the patch failed.
+1 asflicense 45 The patch does not generate ASF License warnings.
8913
Reason Tests
FindBugs module:hadoop-ozone
Unread field:OzoneBucket.java:[line 145]
Unwritten field:BucketArgs.java:[line 88]
Failed junit tests hadoop.ozone.client.rpc.TestMultiBlockWritesWithDnFailures
hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
hadoop.hdds.scm.pipeline.TestRatisPipelineCreateAndDestory
hadoop.ozone.client.rpc.TestCommitWatcher
hadoop.ozone.om.TestOzoneManagerHA
hadoop.ozone.TestMiniOzoneCluster
hadoop.ozone.client.rpc.TestOzoneRpcClient
hadoop.ozone.om.TestScmSafeMode
hadoop.ozone.client.rpc.TestContainerStateMachine
hadoop.ozone.client.rpc.TestReadRetries
hadoop.ozone.om.TestKeyManagerImpl
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/18/artifact/out/Dockerfile
GITHUB PR #1202
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc
uname Linux 9eca47fd4302 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 6ad9a11
Default Java 1.8.0_222
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/18/artifact/out/new-findbugs-hadoop-ozone.html
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/18/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/18/testReport/
Max. process+thread count 3946 (vs. ulimit of 5500)
modules C: hadoop-ozone/common hadoop-ozone/client hadoop-ozone/ozone-manager hadoop-ozone/objectstore-service hadoop-ozone/integration-test U: hadoop-ozone
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/18/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 44 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
0 mvndep 14 Maven dependency ordering for branch
+1 mvninstall 581 trunk passed
+1 compile 367 trunk passed
+1 checkstyle 76 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 879 branch has no errors when building and testing our client artifacts.
+1 javadoc 188 trunk passed
0 spotbugs 422 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 624 trunk passed
-0 patch 464 Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
0 mvndep 20 Maven dependency ordering for patch
+1 mvninstall 545 the patch passed
+1 compile 377 the patch passed
+1 cc 377 the patch passed
+1 javac 377 the patch passed
+1 checkstyle 74 the patch passed
+1 mvnsite 0 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedclient 633 patch has no errors when building and testing our client artifacts.
+1 javadoc 148 the patch passed
+1 findbugs 612 the patch passed
_ Other Tests _
+1 unit 293 hadoop-hdds in the patch passed.
-1 unit 2016 hadoop-ozone in the patch failed.
+1 asflicense 48 The patch does not generate ASF License warnings.
7690
Reason Tests
Failed junit tests hadoop.ozone.om.TestKeyManagerImpl
hadoop.ozone.TestStorageContainerManager
hadoop.ozone.om.TestScmSafeMode
hadoop.ozone.client.rpc.TestBCSID
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/20/artifact/out/Dockerfile
GITHUB PR #1202
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc
uname Linux 91af5857cbb7 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / aa5f445
Default Java 1.8.0_212
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/20/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/20/testReport/
Max. process+thread count 4953 (vs. ulimit of 5500)
modules C: hadoop-ozone/common hadoop-ozone/ozone-manager hadoop-ozone/integration-test U: hadoop-ozone
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1202/20/console
versions git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@bharatviswa504
Copy link
Contributor Author

Test failures are not related to this PR.
Thank You @xiaoyuyao for the review.
I will commit this to the trunk.

@bharatviswa504 bharatviswa504 merged commit 91f41b7 into apache:trunk Aug 9, 2019
amahussein pushed a commit to amahussein/hadoop that referenced this pull request Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants