[ 
https://issues.apache.org/jira/browse/HDFS-5314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colin Patrick McCabe resolved HDFS-5314.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: HDFS-4949

> 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
>             Fix For: HDFS-4949
>
>         Attachments: HDFS-5314-caching.001.patch, HDFS-5314-caching.002.patch
>
>
> {{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)

Reply via email to