public static DistCopier getCopier ( final Configuration conf , final Arguments args ) throws IOException { DistCopier dc = new DistCopier ( conf , args ) ; dc . setupJob ( ) ; if ( dc . getJobConf ( ) != null ) { return dc ; } else { return null ; } }
Return a DistCopier object for copying the files .