K0K0V0K commented on code in PR #8378:
URL: https://github.com/apache/hadoop/pull/8378#discussion_r2988556491
##########
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/MRAppMaster.java:
##########
@@ -1683,6 +1684,7 @@ public static void main(String[] args) {
String jobUserName = System
.getenv(ApplicationConstants.Environment.USER.name());
conf.set(MRJobConfig.USER_NAME, jobUserName);
+ TaskLevelSecurityEnforcer.validate(conf);
Review Comment:
I think the `UserGroupInformation.getCurrentUser()` is the service user in
this case.
I added a LOG line here on a test cluster as
` LOG.info("Current user {}", UserGroupInformation.getCurrentUser());`
and i see
`2026-03-25 14:12:35,161 INFO [main]
org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Current user yarn (auth:SIMPLE)`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]