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

Konstantin Shvachko updated HDFS-508:
-------------------------------------

    Attachment: BlockInfo.patch

This patch
# factors out {{BlockInfo}};
# introduces {{getInode()}} and {{setInode()}};
# removes unused method {{BlocksMap.addBlock()}};
# merges {{checkBlockInfo()}} and {{addInode()}};
# changes two unnecessary public methods to package private.

> Factor out BlockInfo from BlocksMap
> -----------------------------------
>
>                 Key: HDFS-508
>                 URL: https://issues.apache.org/jira/browse/HDFS-508
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>    Affects Versions: 0.20.1
>            Reporter: Konstantin Shvachko
>            Assignee: Konstantin Shvachko
>             Fix For: 0.21.0
>
>         Attachments: BlockInfo.patch
>
>
> {{BlockInfo}} is a static subclass of {{BlocksMap}}. It is time to factor it 
> out. We will need this to extend {{BlockInfo}} to 
> {{BlockInfoUnderConstruction}} so that it could keep track of replica states 
> until all of them are written to data-nodes.

-- 
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