[ 
https://issues.apache.org/jira/browse/HDFS-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12964628#action_12964628
 ] 

Jingguo Yao commented on HDFS-1518:
-----------------------------------

"4)" should be inverted of "3)" instead of "2)". "3)" is "block --> 
machinelist". "4)" is "machine --> blocklist".

 * 1)  valid fsname --> blocklist  (kept on disk, logged)
 * 2)  Set of all valid blocks (inverted #1)
 * 3)  block --> machinelist (kept in memory, rebuilt dynamically from reports)
 * 4)  machine --> blocklist (inverted #2)
 * 5)  LRU cache of updated-heartbeat machines

> Wrong description in FSNamesystem's javadoc
> -------------------------------------------
>
>                 Key: HDFS-1518
>                 URL: https://issues.apache.org/jira/browse/HDFS-1518
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.21.0
>            Reporter: Jingguo Yao
>            Assignee: Jingguo Yao
>            Priority: Minor
>         Attachments: HDFS-1518.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> "4)  machine --> blocklist (inverted #2)" should be "4)  machine --> 
> blocklist (inverted #3)"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to