Class MountTableStore

All Implemented Interfaces:
MountTableManager, StateStoreCache
Direct Known Subclasses:
MountTableStoreImpl

@Private @Evolving public abstract class MountTableStore extends CachedRecordStore<MountTable> implements MountTableManager
Management API for the HDFS mount table information stored in MountTable records. The mount table contains entries that map a particular global namespace path one or more HDFS nameservices (NN) + target path. It is possible to map mount locations for root folders, directories or individual files.

Once fetched from the StateStoreDriver, MountTable records are cached in a tree for faster access. Each path in the global namespace is mapped to a nameserivce ID and local path upon request. The cache is periodically updated by the @{link StateStoreCacheUpdateService}.

  • Constructor Details

  • Method Details

    • setRefreshService

      public void setRefreshService(MountTableRefresherService refreshService)
    • setQuotaManager

      public void setQuotaManager(RouterQuotaManager quotaManager)
    • getQuotaManager

      public RouterQuotaManager getQuotaManager()
    • updateCacheAllRouters

      protected void updateCacheAllRouters()
      Update mount table cache of this router as well as all other routers.