hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eli Collins (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3328) Premature EOFExcepion in HdfsProtoUtil#vintPrefixed
Date Tue, 08 May 2012 05:02:23 GMT

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

Eli Collins updated HDFS-3328:

    Attachment: hdfs-3328.txt

Patch attached. Use the xfer port rather than the IPC port in DataNode#getDisplayName. This
was the behavior before HDFS-3171, and doesn't NPE because the xfer port is set statically
by the tests rather than waiting for an IPC server to come up. Also, let's remove @VisibleForTesting
from getIpcPort since it's used in non-test code paths.
> Premature EOFExcepion in HdfsProtoUtil#vintPrefixed
> ---------------------------------------------------
>                 Key: HDFS-3328
>                 URL: https://issues.apache.org/jira/browse/HDFS-3328
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: data-node
>    Affects Versions: 2.0.0
>            Reporter: Uma Maheswara Rao G
>            Assignee: Eli Collins
>         Attachments: hdfs-3328.txt
> While running the tests, I have seen this exceptions.Tests passed. 
> Not sure this is a problem.
> {quote}
> 2012-04-26 23:15:51,763 WARN  hdfs.DFSClient (DFSOutputStream.java:run(710)) - DFSOutputStream
ResponseProcessor exception  for block BP-1372255573-
> java.io.EOFException: Premature EOF: no length prefix available
> 	at org.apache.hadoop.hdfs.protocol.HdfsProtoUtil.vintPrefixed(HdfsProtoUtil.java:162)
> 	at org.apache.hadoop.hdfs.protocol.datatransfer.PipelineAck.readFields(PipelineAck.java:95)
> 	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer$ResponseProcessor.run(DFSOutputStream.java:657)
> Exception in thread "DataXceiver for client / [Cleaning up]" java.lang.NullPointerException
> 	at org.apache.hadoop.ipc.Server$Listener.getAddress(Server.java:669)
> 	at org.apache.hadoop.ipc.Server.getListenerAddress(Server.java:1988)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.getIpcPort(DataNode.java:882)
> 	at org.apache.hadoop.hdfs.server.datanode.DataNode.getDisplayName(DataNode.java:863)
> 	at org.apache.hadoop.hdfs.server.datanode.DataXceiver.run(DataXceiver.java:171)
> 	at java.lang.Thread.run(Unknown Source){quote}

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


View raw message