|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.util.CopyFiles.FSCopyFilesMapper
public static class CopyFiles.FSCopyFilesMapper
FSCopyFilesMapper: The mapper for copying files between FileSystems.
Constructor Summary | |
---|---|
CopyFiles.FSCopyFilesMapper()
|
Method Summary | |
---|---|
void |
close()
Called after the last call to any other method on this object to free and/or flush resources. |
void |
configure(JobConf job)
Mapper configuration. |
void |
map(LongWritable key,
org.apache.hadoop.util.CopyFiles.FilePair value,
OutputCollector<WritableComparable,Text> out,
Reporter reporter)
Map method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CopyFiles.FSCopyFilesMapper()
Method Detail |
---|
public void configure(JobConf job)
configure
in interface JobConfigurable
job
- the configurationpublic void map(LongWritable key, org.apache.hadoop.util.CopyFiles.FilePair value, OutputCollector<WritableComparable,Text> out, Reporter reporter) throws IOException
map
in interface Mapper<LongWritable,org.apache.hadoop.util.CopyFiles.FilePair,WritableComparable,Text>
key
- src lenvalue
- FilePair (FileStatus src, Path dst)out
- Log of failed copiesreporter
-
IOException
public void close() throws IOException
Closeable
close
in interface Closeable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |