Package org.apache.hadoop.hdfs.server.namenode.sps
@Private
@Unstable
package org.apache.hadoop.hdfs.server.namenode.sps
This package provides a mechanism for satisfying the storage policy of a
path.
-
ClassDescriptionInterface for notifying about block movement attempt completion.Interface for implementing different ways of block moving approaches.A monitor class for checking whether block storage movements attempt completed or not.A Class to track the block collection IDs (Inode's ID) for which physical storage movement needed as per the Namespace and StorageReports from DN.Info for directory recursive scan.An interface for the communication between SPS and Namenode module.The Datanode cache Manager handles caching of
DatanodeStorageReport.An interface for scanning the directory recursively and collect files under the given directory.ItemInfo is a file info object for which need to satisfy the policy.An interface for SPSService, which exposes life cycle and processing APIs.Setting storagePolicy on a file after the file write will only update the new storage policy type in Namespace, but physical block storage movement will not happen until user runs "Mover Tool" explicitly for such files.This class contains information of an attempted blocks and its last attempted or reported time stamp.Maintains storage type map with the available datanodes in the cluster.Keeps datanode with its respective set of supported storage types.This manages satisfy storage policy invoked path ids and expose methods to process these path ids.