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

Hairong Kuang commented on HDFS-724:
------------------------------------

I am quite torn at whether a heartbeat should be 
1. a regular empty packet and be handled exactly the same as a regular data 
packet; or
2. a special empty packet with a seq# of -1 and be treated differently from a 
regular packet. For example, it does not get added to the packet queue at both 
client or datanode side.

Solution 1 is much simpler than solution 2. But is there any side effect?

> Pipeline close hangs if one of the datanode is not responsive.
> --------------------------------------------------------------
>
>                 Key: HDFS-724
>                 URL: https://issues.apache.org/jira/browse/HDFS-724
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node, hdfs client
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Hairong Kuang
>         Attachments: h724_20091021.patch
>
>
> In the new pipeline design, pipeline close is implemented by sending an 
> additional empty packet.  If one of the datanode does not response to this 
> empty packet, the pipeline hangs.  It seems that there is no timeout.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to