Example usage for org.apache.hadoop.yarn.util RackResolver RackResolver

List of usage examples for org.apache.hadoop.yarn.util RackResolver RackResolver

Introduction

In this page you can find the example usage for org.apache.hadoop.yarn.util RackResolver RackResolver.

Prototype

private RackResolver() 

Source Link

Document

Hide the default constructor for utility class.

Usage

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);
}