Class StoragePolicySatisfier.AttemptedItemInfo

java.lang.Object
org.apache.hadoop.hdfs.server.namenode.sps.ItemInfo
org.apache.hadoop.hdfs.server.namenode.sps.StoragePolicySatisfier.AttemptedItemInfo
Enclosing class:
StoragePolicySatisfier

public static final class StoragePolicySatisfier.AttemptedItemInfo extends ItemInfo
This class contains information of an attempted blocks and its last attempted or reported time stamp. This is used by BlockStorageMovementAttemptedItems.storageMovementAttemptedItems.
  • Constructor Details

    • AttemptedItemInfo

      public AttemptedItemInfo(long rootId, long trackId, long lastAttemptedOrReportedTime, Set<org.apache.hadoop.hdfs.protocol.Block> blocks, int retryCount)
      AttemptedItemInfo constructor.
      Parameters:
      rootId - rootId for trackId
      trackId - trackId for file.
      lastAttemptedOrReportedTime - last attempted or reported time
      blocks - scheduled blocks
      retryCount - file retry count