Class HadoopUtils
- java.lang.Object
-
- org.apache.flink.hadoopcompatibility.HadoopUtils
-
public class HadoopUtils extends Object
Utility class to work with Apache Hadoop libraries.
-
-
Constructor Summary
Constructors Constructor Description HadoopUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParameterTool
paramsFromGenericOptionsParser(String[] args)
ReturnsParameterTool
for the arguments parsed byGenericOptionsParser
.
-
-
-
Method Detail
-
paramsFromGenericOptionsParser
public static ParameterTool paramsFromGenericOptionsParser(String[] args) throws IOException
ReturnsParameterTool
for the arguments parsed byGenericOptionsParser
.- Parameters:
args
- Input array arguments. It should be parsable byGenericOptionsParser
- Returns:
- A
ParameterTool
- Throws:
IOException
- If arguments cannot be parsed byGenericOptionsParser
- See Also:
GenericOptionsParser
-
-