Interface ContainerDownloader

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
SimpleContainerDownloader

public interface ContainerDownloader extends Closeable
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 Details

    • getContainerDataFromReplicas

      Path getContainerDataFromReplicas(long containerId, List<org.apache.hadoop.hdds.protocol.DatanodeDetails> sources, Path downloadDir, CopyContainerCompression compression)