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

Aaron T. Myers updated HDFS-6033:
---------------------------------

    Attachment: HDFS-6033.patch

Trivial patch attached. I tested this manually and confirmed that it works as 
expected. No test included since the bug is so obvious and the fix is so 
trivial, but I could write one if anyone feels strongly about it.

> PBImageXmlWriter incorrectly handles processing cache directives
> ----------------------------------------------------------------
>
>                 Key: HDFS-6033
>                 URL: https://issues.apache.org/jira/browse/HDFS-6033
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: caching
>    Affects Versions: 2.4.0
>            Reporter: Aaron T. Myers
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-6033.patch
>
>
> When attempting to process cache directives in 
> {{PBImageXmlWriter#dumpCacheManagerSection}}, we incorrectly loop the number 
> of cache _pools_, not directives.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to