Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-4949 Centralized cache management in HDFS
  3. HDFS-5314

Do not expose CachePool type in AddCachePoolOp

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HDFS-4949
    • HDFS-4949
    • namenode
    • None

    Description

      CachePool is an internal type which should not be exposed or used in the FSEditLog. Because CachePool is mutable, storing a reference to it in an edit log operation could lead to the edit log operation changing as a result of the CachePool object being changed. Instead, we should store CachePoolInfo.

      Attachments

        1. HDFS-5314-caching.001.patch
          16 kB
          Colin McCabe
        2. HDFS-5314-caching.002.patch
          16 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: