YARN-10520. Deprecated the residual nested class for the LCEResourceHandler (#2527). Contributed by Wanqiang Ji
This commit is contained in:
parent
d67ccd03e3
commit
0a45bd034e
@ -725,6 +725,7 @@ public void testGetLocalResources() throws Exception {
|
||||
verify(lce, times(1)).getLocalResources(container);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
private static class TestResourceHandler implements LCEResourcesHandler {
|
||||
static Set<ContainerId> postExecContainers = new HashSet<ContainerId>();
|
||||
|
||||
|
@ -126,12 +126,14 @@ public void run() {
|
||||
FileUtils.deleteQuietly(cgroupDir);
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
static class MockLinuxContainerExecutor extends LinuxContainerExecutor {
|
||||
@Override
|
||||
public void mountCgroups(List<String> x, String y) {
|
||||
}
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
static class CustomCgroupsLCEResourceHandler extends
|
||||
CgroupsLCEResourcesHandler {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user