Interface ContainerDownloader
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
SimpleContainerDownloader
Service to download container data from other datanodes.
The implementation of this interface should copy the raw container data in compressed form to working directory.
A smart implementation would use multiple sources to do parallel download.
-
Method Summary
Modifier and TypeMethodDescriptiongetContainerDataFromReplicas(long containerId, List<org.apache.hadoop.hdds.protocol.DatanodeDetails> sources, Path downloadDir, CopyContainerCompression compression)
-
Method Details
-
getContainerDataFromReplicas
Path getContainerDataFromReplicas(long containerId, List<org.apache.hadoop.hdds.protocol.DatanodeDetails> sources, Path downloadDir, CopyContainerCompression compression)
-