hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7264) Tha last datanode in a pipeline should send a heartbeat when there is no traffic
Date Sat, 18 Oct 2014 03:36:34 GMT

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

Jitendra Nath Pandey commented on HDFS-7264:
--------------------------------------------

bq. ackQueue.addLast(Packet.newHeartbeat());
Shouldn't we add the heartbeat packet to the front of the queue?




> Tha last datanode in a pipeline should send a heartbeat when there is no traffic
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-7264
>                 URL: https://issues.apache.org/jira/browse/HDFS-7264
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>         Attachments: h7264_20141017.patch
>
>
> When the client is writing slowly, the client will send a heartbeat to signal that the
connection is still alive.  This case works fine.
> However, when a client is writing fast but some of the datanodes in the pipeline are
busy, a PacketResponder may get a timeout since no ack is sent from the upstream datanode.
 We suggest that the last datanode in a pipeline should send a heartbeat when there is no
traffic.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message