- <init>
Public Constructor. Creates DistCp object with specified input-parameters. (E.g.
source-paths, targe
- execute
Implements the core-execution. Creates the file-list for copy, and launches the
Hadoop-job, to do th
- run
Implementation of Tool::run(). Orchestrates the copy of source file(s) to target
location, by: 1. Cr
- createInputFileListing
Create input listing by invoking an appropriate copy listing implementation.
Also add delegation tok
- getConf
- cleanup
- configureOutputFormat
Setup output format appropriately
- createAndSubmitJob
Create and submit the mapreduce job.
- createJob
Create Job object for submitting it, with all the configuration
- createMetaFolderPath
Create a default working folder for the job, under the job staging directory
- getDefaultConf
Loads properties from distcp-default.xml into configuration object
- getFileListingPath
Get default name of the copy listing file. Use the meta folder to create the
copy listing file