public class DataNodeLocatorUtils extends java.lang.Object implements IDataNodeLocatorUtils
| Constructor and Description |
|---|
DataNodeLocatorUtils(Config cfg) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
findDataNodesLocation(java.util.List<java.lang.String> inputFileList)
This method receives the input data list for each vertex and find the location of the
datanodes in the HDFS and returns the data node list.
|
java.util.List<java.lang.String> |
findDataNodesLocation(java.lang.String inputFileName)
This method receives the input file name of a vertex and find the location of the datanodes
in the HDFS and returns the data node list.
|
public DataNodeLocatorUtils(Config cfg)
public java.util.List<java.lang.String> findDataNodesLocation(java.util.List<java.lang.String> inputFileList)
findDataNodesLocation in interface IDataNodeLocatorUtilspublic java.util.List<java.lang.String> findDataNodesLocation(java.lang.String inputFileName)
findDataNodesLocation in interface IDataNodeLocatorUtils