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

Uma Maheswara Rao G updated HDFS-6783:
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.6.0
                   3.0.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Thanks a lot, Yi for the patch. Thanks to Colin and Andrew for reviews.
I have just committed this to trunk and branch-2

> Fix HDFS CacheReplicationMonitor rescan logic
> ---------------------------------------------
>
>                 Key: HDFS-6783
>                 URL: https://issues.apache.org/jira/browse/HDFS-6783
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: caching
>    Affects Versions: 3.0.0
>            Reporter: Yi Liu
>            Assignee: Yi Liu
>             Fix For: 3.0.0, 2.6.0
>
>         Attachments: HDFS-6783.001.patch, HDFS-6783.002.patch, 
> HDFS-6783.003.patch, HDFS-6783.004.patch, HDFS-6783.005.patch, 
> HDFS-6783.006.patch
>
>
> In monitor thread, needsRescan is set to false before real scan starts, so 
> for {{waitForRescanIfNeeded}} will return for the first condition:
> {code}
> if (!needsRescan) {
>   return;
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to