hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2108) Move datanode heartbeat handling to BlockManager
Date Wed, 27 Jul 2011 14:23:09 GMT

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

Uma Maheswara Rao G commented on HDFS-2108:

Hi Nicholas,

 Looks DataNodeManager is getting blockManager as null when initializing the blockManager
in DataNodeManager constructor.
I think this is because, before actually created BlokcManager object in FSNameSystem initialization,
DataNodeManager is getting the BlockManager from fsNameSystem. So, at that blockManager object
not created in fsNameSystem. So, it will be null.


  DatanodeManager(final FSNamesystem namesystem, final Configuration conf
      ) throws IOException {
    this.namesystem = namesystem;
    this.blockManager = namesystem.getBlockManager();
    System.out.println("In DatanodeManager Constructor :::::::::::::::::::::::::::::::"+this.blockManager);
// Uma added this for verification


 Output of this S.O.P is :
 In DatanodeManager Constructor :::::::::::::::::::::::::::::::null 


> Move datanode heartbeat handling to BlockManager
> ------------------------------------------------
>                 Key: HDFS-2108
>                 URL: https://issues.apache.org/jira/browse/HDFS-2108
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: name-node
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>         Attachments: h2108_20110727.patch
> Logically, datanodes should heartbeat to block manager instead of name system.  Therefore,
we should move datanode heartbeat handling code to {{BlockManager}}.

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


View raw message