hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jianbiao Huang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4255) Useless stacktrace shown in DN when there's an error writing a block
Date Sat, 13 Apr 2013 03:50:15 GMT

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

Jianbiao Huang commented on HDFS-4255:
--------------------------------------

There are the same error with the issue HBASE-8331.
                
> Useless stacktrace shown in DN when there's an error writing a block
> --------------------------------------------------------------------
>
>                 Key: HDFS-4255
>                 URL: https://issues.apache.org/jira/browse/HDFS-4255
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 2.0.2-alpha
>            Reporter: Harsh J
>            Priority: Minor
>
> The DN sometimes carries these, especially when its asked to shutdown and there's ongoing
write activity. The stacktrace is absolutely useless and may be improved, and the message
it comes as part of is an INFO, which should not be the case when a stacktrace is necessary
to be print (indicative of a trouble).
> {code}
> 2012-12-01 19:10:23,167 INFO  datanode.DataNode (BlockReceiver.java:run(955)) - PacketResponder:
BP-1493454111-192.168.2.1-1354369220726:blk_-8775461920430955284_1002, type=HAS_DOWNSTREAM_IN_PIPELINE
> java.io.EOFException: Premature EOF: no length prefix available
> 	at org.apache.hadoop.hdfs.protocol.HdfsProtoUtil.vintPrefixed(HdfsProtoUtil.java:171)
> 	at org.apache.hadoop.hdfs.protocol.datatransfer.PipelineAck.readFields(PipelineAck.java:116)
> 	at org.apache.hadoop.hdfs.server.datanode.BlockReceiver$PacketResponder.run(BlockReceiver.java:905)
> 	at java.lang.Thread.run(Thread.java:680)
> {code}
> Full scenario log in comments.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message