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 class TestLinuxContainerExecutor {
|
|||
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 class TestCgroupsLCEResourcesHandler {
|
|||
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