Skip to content

Conversation

@ajayydv
Copy link
Contributor

@ajayydv ajayydv commented May 17, 2019

No description provided.

@ajayydv ajayydv added the ozone label May 17, 2019
@ajayydv ajayydv requested a review from xiaoyuyao May 17, 2019 00:52
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 29 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 6 new or modified test files.
_ trunk Compile Tests _
0 mvndep 62 Maven dependency ordering for branch
+1 mvninstall 417 trunk passed
+1 compile 206 trunk passed
+1 checkstyle 53 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 832 branch has no errors when building and testing our client artifacts.
+1 javadoc 128 trunk passed
0 spotbugs 237 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 418 trunk passed
_ Patch Compile Tests _
0 mvndep 26 Maven dependency ordering for patch
+1 mvninstall 408 the patch passed
+1 compile 212 the patch passed
+1 cc 212 the patch passed
+1 javac 212 the patch passed
-0 checkstyle 29 hadoop-ozone: The patch generated 7 new + 0 unchanged - 0 fixed = 7 total (was 0)
+1 mvnsite 0 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 1 The patch has no ill-formed XML file.
+1 shadedclient 667 patch has no errors when building and testing our client artifacts.
+1 javadoc 128 the patch passed
+1 findbugs 431 the patch passed
_ Other Tests _
-1 unit 151 hadoop-hdds in the patch failed.
-1 unit 980 hadoop-ozone in the patch failed.
+1 asflicense 33 The patch does not generate ASF License warnings.
6866
Reason Tests
Failed junit tests hadoop.ozone.om.TestOzoneManager
hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-828/1/artifact/out/Dockerfile
GITHUB PR #828
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml cc
uname Linux 0a46e72851d1 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 / c183bd8
Default Java 1.8.0_212
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-828/1/artifact/out/diff-checkstyle-hadoop-ozone.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-828/1/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-828/1/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-828/1/testReport/
Max. process+thread count 5400 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-ozone/client hadoop-ozone/common hadoop-ozone/integration-test hadoop-ozone/objectstore-service hadoop-ozone/ozone-manager hadoop-ozone/tools U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-828/1/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.

<property>
<name>ozone.om.group.rights</name>
<value>READ_WRITE</value>
<value>ALL</value>
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we please use the new config style ..

Copy link
Contributor

Choose a reason for hiding this comment

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

try {
aclRights.add(OzoneAclRights.valueOf(right.name()));
} catch (IllegalArgumentException iae) {
LOG.error("ACL:{} right is not recognized.", acl);
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be more than a LOG.Error? if we don't recognize an ACL shouldn't we return an error to the caller instead of ignoring and continue?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since this involves a list of acls IMO a single bad acl type should not halt the usage of remaining ones. But i am open to change if you think we should throw error at this point.

Copy link
Contributor

Choose a reason for hiding this comment

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

Agree with @anuengineer based on offline discussion with @ajayydv . We should stop here instead of catch and let the parsing continue.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 40 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 6 new or modified test files.
_ trunk Compile Tests _
0 mvndep 84 Maven dependency ordering for branch
+1 mvninstall 477 trunk passed
+1 compile 231 trunk passed
+1 checkstyle 57 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 856 branch has no errors when building and testing our client artifacts.
+1 javadoc 144 trunk passed
0 spotbugs 259 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 481 trunk passed
_ Patch Compile Tests _
0 mvndep 32 Maven dependency ordering for patch
+1 mvninstall 448 the patch passed
+1 compile 220 the patch passed
+1 cc 220 the patch passed
+1 javac 220 the patch passed
+1 checkstyle 57 the patch passed
+1 mvnsite 0 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 2 The patch has no ill-formed XML file.
+1 shadedclient 681 patch has no errors when building and testing our client artifacts.
+1 javadoc 135 the patch passed
+1 findbugs 553 the patch passed
_ Other Tests _
-1 unit 186 hadoop-hdds in the patch failed.
-1 unit 1386 hadoop-ozone in the patch failed.
+1 asflicense 39 The patch does not generate ASF License warnings.
6248
Reason Tests
Failed junit tests hadoop.ozone.TestOzoneConfigurationFields
hadoop.ozone.client.rpc.TestCommitWatcher
hadoop.ozone.om.TestOzoneManager
hadoop.ozone.client.rpc.TestWatchForCommit
hadoop.ozone.container.common.statemachine.commandhandler.TestBlockDeletion
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-828/2/artifact/out/Dockerfile
GITHUB PR #828
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml cc
uname Linux d15937724ed6 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 24c53e0
Default Java 1.8.0_212
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-828/2/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-828/2/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-828/2/testReport/
Max. process+thread count 5314 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-ozone/client hadoop-ozone/common hadoop-ozone/integration-test hadoop-ozone/objectstore-service hadoop-ozone/ozone-manager hadoop-ozone/tools U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-828/2/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 26 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 6 new or modified test files.
_ trunk Compile Tests _
0 mvndep 73 Maven dependency ordering for branch
+1 mvninstall 413 trunk passed
+1 compile 196 trunk passed
+1 checkstyle 51 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 884 branch has no errors when building and testing our client artifacts.
+1 javadoc 120 trunk passed
0 spotbugs 239 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 422 trunk passed
_ Patch Compile Tests _
0 mvndep 25 Maven dependency ordering for patch
+1 mvninstall 403 the patch passed
+1 compile 202 the patch passed
+1 cc 202 the patch passed
+1 javac 202 the patch passed
+1 checkstyle 55 the patch passed
+1 mvnsite 0 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 1 The patch has no ill-formed XML file.
+1 shadedclient 703 patch has no errors when building and testing our client artifacts.
+1 javadoc 120 the patch passed
+1 findbugs 436 the patch passed
_ Other Tests _
-1 unit 151 hadoop-hdds in the patch failed.
-1 unit 1299 hadoop-ozone in the patch failed.
+1 asflicense 32 The patch does not generate ASF License warnings.
5739
Reason Tests
Failed junit tests hadoop.ozone.web.client.TestKeysRatis
hadoop.ozone.client.rpc.TestBlockOutputStreamWithFailures
hadoop.ozone.scm.TestGetCommittedBlockLengthAndPutKey
hadoop.hdds.scm.pipeline.TestSCMPipelineManager
hadoop.ozone.TestOzoneConfigurationFields
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-828/3/artifact/out/Dockerfile
GITHUB PR #828
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml cc
uname Linux e79a0952b6e1 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 24c53e0
Default Java 1.8.0_212
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-828/3/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-828/3/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-828/3/testReport/
Max. process+thread count 5245 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-ozone/client hadoop-ozone/common hadoop-ozone/integration-test hadoop-ozone/objectstore-service hadoop-ozone/ozone-manager hadoop-ozone/tools U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-828/3/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.

for(OzoneAclRights acl:aclInfo.getRightsList()) {
try {
aclRights.add(ACLType.valueOf(acl.name()));
} catch(IllegalArgumentException iae) {
Copy link
Contributor

Choose a reason for hiding this comment

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

remove the try catch. Same as above.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 723 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 6 new or modified test files.
_ trunk Compile Tests _
0 mvndep 112 Maven dependency ordering for branch
+1 mvninstall 754 trunk passed
+1 compile 328 trunk passed
+1 checkstyle 86 trunk passed
+1 mvnsite 0 trunk passed
+1 shadedclient 950 branch has no errors when building and testing our client artifacts.
+1 javadoc 130 trunk passed
0 spotbugs 289 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 473 trunk passed
_ Patch Compile Tests _
0 mvndep 64 Maven dependency ordering for patch
+1 mvninstall 455 the patch passed
+1 compile 287 the patch passed
+1 cc 287 the patch passed
+1 javac 287 the patch passed
+1 checkstyle 93 the patch passed
+1 mvnsite 0 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 xml 1 The patch has no ill-formed XML file.
+1 shadedclient 693 patch has no errors when building and testing our client artifacts.
+1 javadoc 148 the patch passed
+1 findbugs 520 the patch passed
_ Other Tests _
-1 unit 165 hadoop-hdds in the patch failed.
-1 unit 985 hadoop-ozone in the patch failed.
+1 asflicense 55 The patch does not generate ASF License warnings.
7193
Subsystem Report/Notes
Docker Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-828/4/artifact/out/Dockerfile
GITHUB PR #828
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle xml cc
uname Linux 41306946808e 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 / 05db2a5
Default Java 1.8.0_212
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-828/4/artifact/out/patch-unit-hadoop-hdds.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-828/4/artifact/out/patch-unit-hadoop-ozone.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-828/4/testReport/
Max. process+thread count 4719 (vs. ulimit of 5500)
modules C: hadoop-hdds/common hadoop-ozone/client hadoop-ozone/common hadoop-ozone/integration-test hadoop-ozone/objectstore-service hadoop-ozone/ozone-manager hadoop-ozone/tools U: .
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-828/4/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.

@xiaoyuyao
Copy link
Contributor

Thanks @ajayydv for working on this. +1, please confirm unit test failure are not related.

@ajayydv
Copy link
Contributor Author

ajayydv commented May 21, 2019

test failures look unrelated. All failed tests passed locally.

@ajayydv ajayydv merged commit ef1cc72 into apache:trunk May 21, 2019
@ajayydv
Copy link
Contributor Author

ajayydv commented May 21, 2019

@xiaoyuyao thanks for review.

@ajayydv ajayydv deleted the HDDS-1538 branch May 21, 2019 22:54
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