hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2228) Move block and datanode code from FSNamesystem to BlockManager and DatanodeManager
Date Mon, 08 Aug 2011 07:59:27 GMT

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

Tsz Wo (Nicholas), SZE updated HDFS-2228:
-----------------------------------------

    Attachment: h2228_20110808.patch

Hi Uma, thank you for the careful review.

h2228_20110808.patch:

1) Fixed the name.  Good catch.

2) Removed the comment

3,4) moved blockRecieved(..) and processReport(..) to BlockManager.  These are really good
suggestions.

5,6,7,8) You are correct that getAdditionalBlock(..), getAdditionalDatanode(..), abandonBlock(..),
allocateBlock(..) and datanodeReport(..) are supposed to be blockManager/DatanodeManager's
responsibility.  However, as you mentioned, they require FSDirectory or other stuffs.  So
we need to change the API before we can move them.  Let's move them in separated JIRAs.



> Move block and datanode code from FSNamesystem to BlockManager and DatanodeManager
> ----------------------------------------------------------------------------------
>
>                 Key: HDFS-2228
>                 URL: https://issues.apache.org/jira/browse/HDFS-2228
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h2228_20110805.patch, h2228_20110805b.patch, h2228_20110805c.patch,
h2228_20110808.patch
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message