hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sam rash (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1346) DFSClient receives out of order packet ack
Date Wed, 18 Aug 2010 23:23:17 GMT

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

sam rash commented on HDFS-1346:

not easily--PacketResponder is a non-static inner class.  Constructing a BlockReceiver requires
a Datanode instance.  
If you can harness a Datanode, then you need to stub out the DataInputStream and figure out
when to fire a callback (somehow when ack.readFields() reads from the DatainputStream, but
not before).

I think it's possible, but we haven't had time yet

> DFSClient receives out of order packet ack
> ------------------------------------------
>                 Key: HDFS-1346
>                 URL: https://issues.apache.org/jira/browse/HDFS-1346
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node, hdfs client
>    Affects Versions: 0.20-append
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>             Fix For: 0.20-append
>         Attachments: outOfOrder.patch
> When running 0.20 patched with HDFS-101, we sometimes see an error as follow:
> WARN hdfs.DFSClient: DFSOutputStream ResponseProcessor exception for block blk_-2871223654872350746_21421120java.io.IOException:
Responseprocessor: Expecting seq
> no for block blk_-2871223654872350746_21421120 10280 but received 10281
> at org.apache.hadoop.hdfs.DFSClient$DFSOutputStream$ResponseProcessor.run(DFSClient.java:2570)
> This indicates that DFS client expects an ack for packet N, but receives an ack for packet

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

View raw message