Class CopyTable

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

    public class CopyTable
    extends org.apache.hadoop.conf.Configured
    implements org.apache.hadoop.util.Tool
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TABLE_NAME  
    • Constructor Summary

      Constructors 
      Constructor Description
      CopyTable()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean copy​(java.lang.String[] args, java.lang.String user)  
      static void main​(java.lang.String[] args)  
      int run​(java.lang.String[] args)  
      static void setJobSuccessful()  
      • 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

      • CopyTable

        public CopyTable()
    • Method Detail

      • 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
      • copy

        public static boolean copy​(java.lang.String[] args,
                                   java.lang.String user)
                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setJobSuccessful

        public static void setJobSuccessful()
      • main

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