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] [Commented] (HDFS-3328) NPE in DataNode.getIpcPort
Date Tue, 08 May 2012 15:07:52 GMT

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

Eli Collins commented on HDFS-3328:

Thanks Daryn. This puts the behavior back as it was previously - metrics and toString previously
used the xfer port. It would only matter if people care about the particular port value in
the "DataNodeActivity-<hostname>-<port>" key. I suspect most people care about
the hostname, the port is used to make it unique for the case of running multiple DNs on the
same host.
> NPE in DataNode.getIpcPort
> --------------------------
>                 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
>            Priority: Minor
>         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