Example usage for org.apache.hadoop.net DNSToSwitchMapping interface-usage

List of usage examples for org.apache.hadoop.net DNSToSwitchMapping interface-usage

Introduction

In this page you can find the example usage for org.apache.hadoop.net DNSToSwitchMapping interface-usage.

Usage

From source file org.apache.tez.common.MockDNSToSwitchMapping.java

/**
 * Mock RackResolver
 * Overrides CachedDNSToSwitchMapping to ensure that it does not try to resolve hostnames
 */
public class MockDNSToSwitchMapping extends CachedDNSToSwitchMapping implements DNSToSwitchMapping {

From source file org.springframework.yarn.am.grid.support.TestDNSToSwitchMapping.java

/**
 * Custom rack resolver to get expected result for rack resolving.
 * 
 * @author Janne Valkealahti
 *
 */