hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-2616) Change DatanodeProtocol#sendHeartbeat to return HeartbeatResponse
Date Thu, 01 Dec 2011 03:31:40 GMT

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

Suresh Srinivas updated HDFS-2616:
----------------------------------

    Attachment: HDFS-2616.txt

Updated patch. Tests were failing previously because transition to translator for DatanodeProtocol
is not complete and HeartbeatResponse needs to be Writable.
                
> 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
>
>
> 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

        

Mime
View raw message