Skip to content

Commit ce1008f

Browse files
Prabhu JosephPrabhu Joseph
authored andcommitted
YARN-10321. Break down TestUserGroupMappingPlacementRule#testMapping into test scenarios
Contributed by Szilard Nemeth. Reviewed by Gergely Pollak.
1 parent 17ffcab commit ce1008f

File tree

2 files changed

+275
-205
lines changed

2 files changed

+275
-205
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/placement/UserGroupMappingPlacementRule.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private ApplicationPlacementContext getPlacementForUser(String user)
141141
} else {
142142
if (LOG.isDebugEnabled()) {
143143
LOG.debug("Creating placement context for user {} using " +
144-
"static user static mapping", user);
144+
"current user static mapping", user);
145145
}
146146
return getPlacementContext(mapping);
147147
}
@@ -173,7 +173,7 @@ private ApplicationPlacementContext getPlacementForUser(String user)
173173
} else {
174174
if (LOG.isDebugEnabled()) {
175175
LOG.debug("Creating placement context for user {} using " +
176-
"static user static mapping", user);
176+
"current user static mapping", user);
177177
}
178178
return getPlacementContext(mapping);
179179
}

0 commit comments

Comments
 (0)