You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Suresh Srinivas (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/01 09:05:40 UTC

[jira] [Resolved] (HDFS-2616) Change DatanodeProtocol#sendHeartbeat to return HeartbeatResponse

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

Suresh Srinivas resolved HDFS-2616.
-----------------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed

Committed it to HDFS-1623 branch.
                
> Change DatanodeProtocol#sendHeartbeat to return HeartbeatResponse
> -----------------------------------------------------------------
>
>                 Key: HDFS-2616
>                 URL: https://issues.apache.org/jira/browse/HDFS-2616
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: data-node, name-node
>    Affects Versions: HA branch (HDFS-1623)
>            Reporter: Suresh Srinivas
>            Assignee: Suresh Srinivas
>             Fix For: HA branch (HDFS-1623)
>
>         Attachments: HDFS-2616.txt, HDFS-2616.txt, HDFS-2616.txt, HDFS-2616.txt, HDFS-2616.txt, HDFS-2616.txt
>
>
> DatanodeProtocol#sendHeartbeat() returns DatanodeCommand[]. This jira proposes changing it to to return HeartbeatResponse that has DatanodeCommand[]. This allows adding other information that can be returned by the namenode to the datanode, instead of having to only return DatanodeCommand[]. For relevant discussion see HDFS-1972. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira