Class FormatResult

  • All Implemented Interfaces:
    org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

    public class FormatResult
    extends org.apache.hadoop.conf.Configured
    implements org.apache.hadoop.util.Tool
    • Constructor Summary

      Constructors 
      Constructor Description
      FormatResult()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      int run​(java.lang.String[] args)  
      int runMapReduceJob()  
      int runNonMapReduceJob​(boolean replaceDst)  
      • Methods inherited from class org.apache.hadoop.conf.Configured

        getConf, setConf
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.hadoop.conf.Configurable

        getConf, setConf
    • Constructor Detail

      • FormatResult

        public FormatResult()
    • Method Detail

      • runMapReduceJob

        public int runMapReduceJob()
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • runNonMapReduceJob

        public int runNonMapReduceJob​(boolean replaceDst)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • run

        public int run​(java.lang.String[] args)
                throws java.lang.Exception
        Specified by:
        run in interface org.apache.hadoop.util.Tool
        Throws:
        java.lang.Exception
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception