Class HFileReplicator.Copier
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.HFileReplicator.Copier
- Enclosing class:
- HFileReplicator
This class will copy the given hfiles from the given source file system to the given local file
system staging directory.
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.fs.FileSystem
private org.apache.hadoop.fs.Path
-
Constructor Summary
-
Method Summary
-
Field Details
-
sourceFs
-
stagingDir
-
hfiles
-
-
Constructor Details
-
Copier
public Copier(org.apache.hadoop.fs.FileSystem sourceFs, org.apache.hadoop.fs.Path stagingDir, List<String> hfiles) throws IOException - Throws:
IOException
-
-
Method Details
-
call
- Specified by:
call
in interfaceCallable<Void>
- Throws:
IOException
-