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

YARN-9834. Allow using a pool of local users to run Yarn Secure Conta… #1446

Open
wants to merge 8 commits into
base: trunk
Choose a base branch
from

Conversation

shanyu
Copy link
Contributor

@shanyu shanyu commented Sep 14, 2019

…iner in secure mode

Signed-off-by: Shanyu Zhao shzhao@microsoft.com

https://issues.apache.org/jira/browse/YARN-9834

…iner in secure mode

Signed-off-by: Shanyu Zhao <shzhao@microsoft.com>
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 2157 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 45 Maven dependency ordering for branch
+1 mvninstall 1113 trunk passed
+1 compile 557 trunk passed
+1 checkstyle 90 trunk passed
+1 mvnsite 110 trunk passed
+1 shadedclient 892 branch has no errors when building and testing our client artifacts.
+1 javadoc 88 trunk passed
0 spotbugs 93 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 208 trunk passed
_ Patch Compile Tests _
0 mvndep 19 Maven dependency ordering for patch
-1 mvninstall 24 hadoop-yarn-server-nodemanager in the patch failed.
-1 compile 79 hadoop-yarn in the patch failed.
-1 javac 79 hadoop-yarn in the patch failed.
-0 checkstyle 73 hadoop-yarn-project/hadoop-yarn: The patch generated 19 new + 382 unchanged - 1 fixed = 401 total (was 383)
-1 mvnsite 25 hadoop-yarn-server-nodemanager in the patch failed.
+1 whitespace 0 The patch has no whitespace issues.
-1 shadedclient 265 patch has errors when building and testing our client artifacts.
-1 javadoc 28 hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager generated 9 new + 0 unchanged - 0 fixed = 9 total (was 0)
-1 findbugs 27 hadoop-yarn-server-nodemanager in the patch failed.
_ Other Tests _
-1 unit 52 hadoop-yarn-api in the patch failed.
-1 unit 26 hadoop-yarn-server-nodemanager in the patch failed.
-1 asflicense 31 The patch generated 1 ASF License warnings.
6146
Reason Tests
Failed junit tests hadoop.yarn.conf.TestYarnConfigurationFields
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/Dockerfile
GITHUB PR #1446
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux eaaeab1ea91e 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 6a9f7ca
Default Java 1.8.0_222
mvninstall https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/patch-mvninstall-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
compile https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/patch-compile-hadoop-yarn-project_hadoop-yarn.txt
javac https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/patch-compile-hadoop-yarn-project_hadoop-yarn.txt
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
mvnsite https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/patch-mvnsite-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
javadoc https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/diff-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/patch-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/testReport/
asflicense https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 415 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/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.

Signed-off-by: Shanyu Zhao <shzhao@microsoft.com>
LOG.error(errMsg);
return;
}

Choose a reason for hiding this comment

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

whitespace:end of line

localUserInfo.fileOpCount--;
LOG.info("Decremented fileOpCount for appUser " + appUser +
" to " + localUserInfo.fileOpCount);

Choose a reason for hiding this comment

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

whitespace:end of line

}
if (index == -1) {
String errMsg = "Cannot allocate local users from a pool of " +
localUserCount;

Choose a reason for hiding this comment

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

whitespace:end of line

int appCount;
int fileOpCount;
int logHandlingCount;

Choose a reason for hiding this comment

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

whitespace:end of line

* Maintains the appUser to local user mapping, until:
* a) all applications of the appUser is finished;
* b) all FileDeletionTask for that appUser is executed;
* c) all log aggregation/handling requests for appUser's applications are done

Choose a reason for hiding this comment

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

whitespace:end of line

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 41 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 18 Maven dependency ordering for branch
+1 mvninstall 1197 trunk passed
+1 compile 560 trunk passed
+1 checkstyle 86 trunk passed
+1 mvnsite 114 trunk passed
+1 shadedclient 891 branch has no errors when building and testing our client artifacts.
+1 javadoc 77 trunk passed
0 spotbugs 85 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 210 trunk passed
_ Patch Compile Tests _
0 mvndep 17 Maven dependency ordering for patch
+1 mvninstall 76 the patch passed
+1 compile 529 the patch passed
+1 javac 529 the patch passed
-0 checkstyle 82 hadoop-yarn-project/hadoop-yarn: The patch generated 31 new + 382 unchanged - 1 fixed = 413 total (was 383)
+1 mvnsite 90 the patch passed
-1 whitespace 0 The patch has 5 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 shadedclient 749 patch has no errors when building and testing our client artifacts.
+1 javadoc 74 the patch passed
-1 findbugs 95 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 unit 57 hadoop-yarn-api in the patch failed.
-1 unit 1348 hadoop-yarn-server-nodemanager in the patch failed.
-1 asflicense 47 The patch generated 1 ASF License warnings.
6525
Reason Tests
FindBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
Possible doublecheck on org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.instance in org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:[lines 84-86]
Failed junit tests hadoop.yarn.conf.TestYarnConfigurationFields
hadoop.yarn.server.nodemanager.TestNodeManagerReboot
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/2/artifact/out/Dockerfile
GITHUB PR #1446
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux a77206a24c7f 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / e04b8a4
Default Java 1.8.0_222
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/2/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/2/artifact/out/whitespace-eol.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/2/artifact/out/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.html
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/2/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/2/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/2/testReport/
asflicense https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/2/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 412 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/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.

Signed-off-by: Shanyu Zhao <shzhao@microsoft.com>
}
if (index == -1) {
String errMsg = "Cannot allocate local users from a pool of " +
localUserCount;

Choose a reason for hiding this comment

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

whitespace:end of line

int appCount;
int fileOpCount;
int logHandlingCount;

Choose a reason for hiding this comment

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

whitespace:end of line

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 1121 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 43 Maven dependency ordering for branch
+1 mvninstall 1027 trunk passed
+1 compile 490 trunk passed
+1 checkstyle 87 trunk passed
+1 mvnsite 104 trunk passed
+1 shadedclient 891 branch has no errors when building and testing our client artifacts.
+1 javadoc 84 trunk passed
0 spotbugs 83 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 187 trunk passed
_ Patch Compile Tests _
0 mvndep 18 Maven dependency ordering for patch
+1 mvninstall 70 the patch passed
+1 compile 443 the patch passed
+1 javac 443 the patch passed
-0 checkstyle 85 hadoop-yarn-project/hadoop-yarn: The patch generated 30 new + 381 unchanged - 1 fixed = 411 total (was 382)
+1 mvnsite 97 the patch passed
-1 whitespace 0 The patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 shadedclient 752 patch has no errors when building and testing our client artifacts.
+1 javadoc 79 the patch passed
-1 findbugs 92 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 unit 62 hadoop-yarn-api in the patch failed.
-1 unit 1310 hadoop-yarn-server-nodemanager in the patch failed.
-1 asflicense 51 The patch generated 1 ASF License warnings.
7264
Reason Tests
FindBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
Possible doublecheck on org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.instance in org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:[lines 85-87]
Failed junit tests hadoop.yarn.conf.TestYarnConfigurationFields
hadoop.yarn.server.nodemanager.TestNodeManagerReboot
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/Dockerfile
GITHUB PR #1446
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux e71c484ed9f0 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / e04b8a4
Default Java 1.8.0_222
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/whitespace-eol.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.html
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/3/testReport/
asflicense https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 442 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/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.

Signed-off-by: Shanyu Zhao <shzhao@microsoft.com>
}
if (index == -1) {
String errMsg = "Cannot allocate local users from a pool of " +
localUserCount;

Choose a reason for hiding this comment

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

whitespace:end of line

int appCount;
int fileOpCount;
int logHandlingCount;

Choose a reason for hiding this comment

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

whitespace:end of line

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 39 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 42 Maven dependency ordering for branch
+1 mvninstall 1033 trunk passed
+1 compile 496 trunk passed
+1 checkstyle 90 trunk passed
+1 mvnsite 103 trunk passed
+1 shadedclient 903 branch has no errors when building and testing our client artifacts.
+1 javadoc 85 trunk passed
0 spotbugs 85 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 188 trunk passed
_ Patch Compile Tests _
0 mvndep 41 Maven dependency ordering for patch
+1 mvninstall 74 the patch passed
+1 compile 444 the patch passed
+1 javac 444 the patch passed
-0 checkstyle 88 hadoop-yarn-project/hadoop-yarn: The patch generated 30 new + 382 unchanged - 1 fixed = 412 total (was 383)
+1 mvnsite 97 the patch passed
-1 whitespace 0 The patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 shadedclient 751 patch has no errors when building and testing our client artifacts.
+1 javadoc 80 the patch passed
-1 findbugs 91 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 unit 60 hadoop-yarn-api in the patch failed.
-1 unit 1317 hadoop-yarn-server-nodemanager in the patch failed.
-1 asflicense 49 The patch generated 1 ASF License warnings.
6245
Reason Tests
FindBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
Possible doublecheck on org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.instance in org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:[lines 85-87]
Failed junit tests hadoop.yarn.conf.TestYarnConfigurationFields
hadoop.yarn.server.nodemanager.TestNodeManagerReboot
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/4/artifact/out/Dockerfile
GITHUB PR #1446
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 027e04a0ef2c 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / 2358e53
Default Java 1.8.0_222
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/4/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/4/artifact/out/whitespace-eol.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/4/artifact/out/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.html
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/4/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/4/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/4/testReport/
asflicense https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/4/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 412 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/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.

@@ -1611,7 +1625,7 @@ private void cleanUpFilesPerUserDir(FileContext lfs, DeletionService del,
String owner = status.getOwner();
List<Path> pathList = new ArrayList<>();
pathList.add(status.getPath());
FileDeletionTask deletionTask = new FileDeletionTask(del, owner, null,
FileDeletionTask deletionTask = new FileDeletionTask(del, null, null,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this change intentional? I am not sure if I understand why the information of the user deleting the file is not required?

YarnConfiguration.NM_SECURE_MODE_USE_POOL_USER,
YarnConfiguration.DEFAULT_NM_SECURE_MODE_USE_POOL_USER);
if (this.disablePrivateVis) {
LOG.info("When " + YarnConfiguration.NM_SECURE_MODE_USE_POOL_USER +
Copy link
Contributor

Choose a reason for hiding this comment

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

All resources can either be public or application. It seems this constraint is added since a local-user may get assigned to different real-users. Can you comment on the cases where a real user application may require private resources and local-user-pooling is enabled?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, will add comments. Basically if a real user application require private resources, when local user pooling is enabled, we will treat the private resources as application resources. This means for each application we will download (localize) the resources to application folder, and will delete it after the application is finished.

…ainer

Signed-off-by: Shanyu Zhao <shzhao@microsoft.com>
}
if (index == -1) {
String errMsg = "Cannot allocate local users from a pool of " +
localUserCount;

Choose a reason for hiding this comment

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

whitespace:end of line

int appCount;
int fileOpCount;
int logHandlingCount;

Choose a reason for hiding this comment

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

whitespace:end of line

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 48 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 42 Maven dependency ordering for branch
+1 mvninstall 1314 trunk passed
+1 compile 657 trunk passed
+1 checkstyle 96 trunk passed
+1 mvnsite 108 trunk passed
+1 shadedclient 1065 branch has no errors when building and testing our client artifacts.
+1 javadoc 84 trunk passed
0 spotbugs 96 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 213 trunk passed
_ Patch Compile Tests _
0 mvndep 18 Maven dependency ordering for patch
+1 mvninstall 81 the patch passed
+1 compile 490 the patch passed
+1 javac 490 the patch passed
-0 checkstyle 87 hadoop-yarn-project/hadoop-yarn: The patch generated 32 new + 382 unchanged - 1 fixed = 414 total (was 383)
+1 mvnsite 98 the patch passed
-1 whitespace 0 The patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-1 shadedclient 899 patch has errors when building and testing our client artifacts.
+1 javadoc 77 the patch passed
-1 findbugs 94 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 unit 62 hadoop-yarn-api in the patch failed.
+1 unit 1333 hadoop-yarn-server-nodemanager in the patch passed.
-1 asflicense 50 The patch generated 1 ASF License warnings.
7083
Reason Tests
FindBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
Possible doublecheck on org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.instance in org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:[lines 91-93]
Failed junit tests hadoop.yarn.conf.TestYarnConfigurationFields
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/5/artifact/out/Dockerfile
GITHUB PR #1446
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux 0eca54961b92 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / b7ae8a9
Default Java 1.8.0_222
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/5/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/5/artifact/out/whitespace-eol.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/5/artifact/out/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.html
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/5/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/5/testReport/
asflicense https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/5/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 413 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/5/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.

…ainer

Fix the issue when deallocating local user for an appuser,
usercache/<appuser>/appcache folder still exists.

After deallocating appUser from localUser, we will check if usercache folder
for the appUser exists, if yes, then queue FileDeletionTasks to delete.

Signed-off-by: Shanyu Zhao <shzhao@microsoft.com>
Signed-off-by: Shanyu Zhao <shzhao@microsoft.com>
}
if (index == -1) {
String errMsg = "Cannot allocate local users from a pool of " +
localUserCount;

Choose a reason for hiding this comment

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

whitespace:end of line

int appCount;
int fileOpCount;
int logHandlingCount;

Choose a reason for hiding this comment

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

whitespace:end of line

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 39 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 53 Maven dependency ordering for branch
+1 mvninstall 1213 trunk passed
+1 compile 527 trunk passed
+1 checkstyle 91 trunk passed
+1 mvnsite 89 trunk passed
+1 shadedclient 1003 branch has no errors when building and testing our client artifacts.
+1 javadoc 67 trunk passed
0 spotbugs 81 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 188 trunk passed
_ Patch Compile Tests _
0 mvndep 14 Maven dependency ordering for patch
+1 mvninstall 72 the patch passed
+1 compile 482 the patch passed
+1 javac 482 the patch passed
-0 checkstyle 87 hadoop-yarn-project/hadoop-yarn: The patch generated 37 new + 384 unchanged - 1 fixed = 421 total (was 385)
+1 mvnsite 84 the patch passed
-1 whitespace 0 The patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 shadedclient 846 patch has no errors when building and testing our client artifacts.
+1 javadoc 63 the patch passed
-1 findbugs 90 hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 unit 55 hadoop-yarn-api in the patch failed.
+1 unit 1286 hadoop-yarn-server-nodemanager in the patch passed.
-1 asflicense 45 The patch generated 1 ASF License warnings.
6561
Reason Tests
FindBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
Possible doublecheck on org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.instance in org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:[lines 115-117]
Failed junit tests hadoop.yarn.conf.TestYarnConfigurationFields
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/6/artifact/out/Dockerfile
GITHUB PR #1446
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux e493854a9eaf 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / f209722
Default Java 1.8.0_222
checkstyle https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/6/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
whitespace https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/6/artifact/out/whitespace-eol.txt
findbugs https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/6/artifact/out/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.html
unit https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/6/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
Test Results https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/6/testReport/
asflicense https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/6/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 306 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn
Console output https://builds.apache.org/job/hadoop-multibranch/job/PR-1446/6/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.

Signed-off-by: Shanyu Zhao <shzhao@microsoft.com>
@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 1m 11s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 0m 25s Maven dependency ordering for branch
+1 💚 mvninstall 23m 25s trunk passed
+1 💚 compile 9m 46s trunk passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 compile 8m 42s trunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚 checkstyle 1m 41s trunk passed
+1 💚 mvnsite 1m 41s trunk passed
+1 💚 shadedclient 19m 41s branch has no errors when building and testing our client artifacts.
-1 ❌ javadoc 0m 38s hadoop-yarn-api in trunk failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌ javadoc 0m 41s hadoop-yarn-server-nodemanager in trunk failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
+1 💚 javadoc 1m 21s trunk passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+0 🆗 spotbugs 1m 39s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 3m 47s trunk passed
_ Patch Compile Tests _
+0 🆗 mvndep 0m 25s Maven dependency ordering for patch
+1 💚 mvninstall 1m 21s the patch passed
+1 💚 compile 9m 31s the patch passed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1
+1 💚 javac 9m 31s the patch passed
+1 💚 compile 8m 11s the patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
+1 💚 javac 8m 11s the patch passed
-0 ⚠️ checkstyle 1m 31s hadoop-yarn-project/hadoop-yarn: The patch generated 40 new + 376 unchanged - 1 fixed = 416 total (was 377)
+1 💚 mvnsite 1m 29s the patch passed
-1 ❌ whitespace 0m 0s The patch has 2 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1 💚 shadedclient 16m 21s patch has no errors when building and testing our client artifacts.
-1 ❌ javadoc 0m 38s hadoop-yarn-api in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
-1 ❌ javadoc 0m 32s hadoop-yarn-server-nodemanager in the patch failed with JDK Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.
+1 💚 javadoc 1m 10s the patch passed with JDK Private Build-1.8.0_252-8u252-b09-1~18.04-b09
-1 ❌ findbugs 1m 42s hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1 ❌ unit 0m 56s hadoop-yarn-api in the patch passed.
+1 💚 unit 22m 55s hadoop-yarn-server-nodemanager in the patch passed.
-1 ❌ asflicense 0m 42s The patch generated 1 ASF License warnings.
143m 36s
Reason Tests
FindBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
Possible doublecheck on org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.instance in org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:[lines 115-117]
Failed junit tests hadoop.yarn.conf.TestYarnConfigurationFields
Subsystem Report/Notes
Docker ClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/Dockerfile
GITHUB PR #1446
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle
uname Linux d6ee547d0006 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality personality/hadoop.sh
git revision trunk / e756fe3
Default Java Private Build-1.8.0_252-8u252-b09-1~18.04-b09
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_252-8u252-b09-1~18.04-b09
javadoc https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/branch-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
javadoc https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/branch-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
checkstyle https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/diff-checkstyle-hadoop-yarn-project_hadoop-yarn.txt
whitespace https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/whitespace-eol.txt
javadoc https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/patch-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
javadoc https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/patch-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-jdkUbuntu-11.0.8+10-post-Ubuntu-0ubuntu118.04.1.txt
findbugs https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/new-findbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.html
unit https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-api.txt
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/testReport/
asflicense https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 309 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/3/console
versions git=2.17.1 maven=3.6.0 findbugs=4.0.6
Powered by Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@hadoop-yetus
Copy link

💔 -1 overall

Vote Subsystem Runtime Logfile Comment
+0 🆗 reexec 1m 20s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 1s No case conflicting files found.
+0 🆗 codespell 0m 0s codespell was not available.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ trunk Compile Tests _
+0 🆗 mvndep 12m 53s Maven dependency ordering for branch
-1 ❌ mvninstall 22m 11s /branch-mvninstall-root.txt root in trunk failed.
-1 ❌ compile 5m 42s /branch-compile-hadoop-yarn-project_hadoop-yarn-jdkUbuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04.txt hadoop-yarn in trunk failed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04.
-1 ❌ compile 5m 25s /branch-compile-hadoop-yarn-project_hadoop-yarn-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txt hadoop-yarn in trunk failed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.
+1 💚 checkstyle 1m 38s trunk passed
+1 💚 mvnsite 1m 29s trunk passed
+1 💚 javadoc 1m 24s trunk passed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04
+1 💚 javadoc 1m 14s trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
+1 💚 spotbugs 3m 34s trunk passed
+1 💚 shadedclient 20m 52s branch has no errors when building and testing our client artifacts.
_ Patch Compile Tests _
+0 🆗 mvndep 0m 28s Maven dependency ordering for patch
+1 💚 mvninstall 1m 18s the patch passed
-1 ❌ compile 5m 38s /patch-compile-hadoop-yarn-project_hadoop-yarn-jdkUbuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04.txt hadoop-yarn in the patch failed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04.
-1 ❌ javac 5m 38s /patch-compile-hadoop-yarn-project_hadoop-yarn-jdkUbuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04.txt hadoop-yarn in the patch failed with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04.
-1 ❌ compile 4m 53s /patch-compile-hadoop-yarn-project_hadoop-yarn-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txt hadoop-yarn in the patch failed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.
-1 ❌ javac 4m 53s /patch-compile-hadoop-yarn-project_hadoop-yarn-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txt hadoop-yarn in the patch failed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.
-1 ❌ blanks 0m 0s /blanks-eol.txt The patch has 2 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
-0 ⚠️ checkstyle 1m 25s /results-checkstyle-hadoop-yarn-project_hadoop-yarn.txt hadoop-yarn-project/hadoop-yarn: The patch generated 32 new + 317 unchanged - 1 fixed = 349 total (was 318)
+1 💚 mvnsite 1m 34s the patch passed
-1 ❌ javadoc 0m 34s /results-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-jdkUbuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04.txt hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-jdkUbuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 with JDK Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 generated 10 new + 89 unchanged - 10 fixed = 99 total (was 99)
-1 ❌ javadoc 0m 32s /results-javadoc-javadoc-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07.txt hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager-jdkPrivateBuild-1.8.0_312-8u312-b07-0ubuntu120.04-b07 with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu120.04-b07 generated 10 new + 196 unchanged - 0 fixed = 206 total (was 196)
-1 ❌ spotbugs 1m 56s /new-spotbugs-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-nodemanager.html hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
+1 💚 shadedclient 21m 34s patch has no errors when building and testing our client artifacts.
_ Other Tests _
+1 💚 unit 0m 52s hadoop-yarn-api in the patch passed.
+1 💚 unit 23m 34s hadoop-yarn-server-nodemanager in the patch passed.
-1 ❌ asflicense 0m 36s /results-asflicense.txt The patch generated 1 ASF License warnings.
146m 42s
Reason Tests
SpotBugs module:hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager
Possible doublecheck on org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.instance in org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:org.apache.hadoop.yarn.server.nodemanager.SecureModeLocalUserAllocator.getInstance(Configuration) At SecureModeLocalUserAllocator.java:[lines 115-117]
Subsystem Report/Notes
Docker ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/1/artifact/out/Dockerfile
GITHUB PR #1446
Optional Tests dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell
uname Linux dd86caca400e 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Build tool maven
Personality dev-support/bin/hadoop.sh
git revision trunk / beca49d
Default Java Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Multi-JDK versions /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.13+8-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07
Test Results https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/1/testReport/
Max. process+thread count 698 (vs. ulimit of 5500)
modules C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn
Console output https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-1446/1/console
versions git=2.25.1 maven=3.6.3 spotbugs=4.2.2
Powered by Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants