Class DataFileDistCp
java.lang.Object
fr.ens.biologie.genomique.eoulsan.modules.mgmt.upload.DataFileDistCp
This class allow to copy and transform data in a distributed manner.
- Since:
- 1.0
- Author:
- Laurent Jourdren
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThis inner class define the mapper class for DataSourceDistCp map-reduce job. -
Constructor Summary
ConstructorsConstructorDescriptionDataFileDistCp(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path jobPath) Public constructor. -
Method Summary
-
Constructor Details
-
DataFileDistCp
public DataFileDistCp(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.Path jobPath) Public constructor.- Parameters:
conf- Configuration objectjobPath- the path where create job temporary file
-
-
Method Details
-
copy
Copy files.- Parameters:
entries- entries to copy- Throws:
IOException- if an error occurs while copying
-