You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2013/10/07 02:43:41 UTC

[jira] [Created] (HDFS-5314) Do not expose CachePool type in AddCachePoolOp

Colin Patrick McCabe created HDFS-5314:
------------------------------------------

             Summary: Do not expose CachePool type in AddCachePoolOp
                 Key: HDFS-5314
                 URL: https://issues.apache.org/jira/browse/HDFS-5314
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: namenode
    Affects Versions: HDFS-4949
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe


{{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}}.



--
This message was sent by Atlassian JIRA
(v6.1#6144)