Class HadoopUtils


  • public class HadoopUtils
    extends Object
    Utility class to work with Apache Hadoop libraries.
    • Constructor Detail

      • HadoopUtils

        public HadoopUtils()
    • Method Detail

      • paramsFromGenericOptionsParser

        public static ParameterTool paramsFromGenericOptionsParser​(String[] args)
                                                            throws IOException
        Returns ParameterTool for the arguments parsed by GenericOptionsParser.
        Parameters:
        args - Input array arguments. It should be parsable by GenericOptionsParser
        Returns:
        A ParameterTool
        Throws:
        IOException - If arguments cannot be parsed by GenericOptionsParser
        See Also:
        GenericOptionsParser