List of usage examples for org.apache.hadoop.yarn.util RackResolver RackResolver
private RackResolver()
From source file:org.springframework.yarn.am.allocate.DefaultAllocateCountTrackerTests.java
License:Apache License
@Before public void setup() throws Exception { // try to fix some hadoop static init usage // do it again after a test TestUtils.setField("initCalled", new RackResolver(), false); }
From source file:org.springframework.yarn.am.allocate.DefaultAllocateCountTrackerTests.java
License:Apache License
@After public void clean() throws Exception { TestUtils.setField("initCalled", new RackResolver(), false); }