java.lang.Object
org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsVolumeImpl
All Implemented Interfaces:
Checkable<FsVolumeSpi.VolumeCheckContext,VolumeCheckResult>, FsVolumeSpi

@Private @VisibleForTesting public class FsVolumeImpl extends Object implements FsVolumeSpi
The underlying volume used to store replica. It uses the FsDatasetImpl object for synchronization.
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
    • configuredCapacity

      protected volatile long configuredCapacity
    • cacheExecutor

      protected ThreadPoolExecutor cacheExecutor
      Per-volume worker pool that processes new blocks to cache. The maximum number of workers per volume is bounded (configurable via dfs.datanode.fsdatasetcache.max.threads.per.volume) to limit resource contention.
  • Method Details