Package org.apache.hadoop.util
Class MachineList.InetAddressFactory
java.lang.Object
org.apache.hadoop.util.MachineList.InetAddressFactory
- Enclosing class:
- MachineList
InetAddressFactory is used to obtain InetAddress from host.
This class makes it easy to simulate host to ip mappings during testing.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InetAddressFactory
public InetAddressFactory()
-
-
Method Details
-
getByName
- Throws:
UnknownHostException
-