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

Harsh J updated HDFS-2726:
--------------------------

    Issue Type: Improvement  (was: Bug)

This is a trivial change to the logger statement that's still a problem on 
trunk's DFSOutputStream, so am going ahead and committing it.
                
> "Exception in createBlockOutputStream" shouldn't delete exception stack trace
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-2726
>                 URL: https://issues.apache.org/jira/browse/HDFS-2726
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Michael Bieniosek
>            Assignee: Harsh J
>             Fix For: 0.24.0
>
>         Attachments: HDFS-2726.patch
>
>
> I'm occasionally (1/5000 times) getting this error after upgrading everything 
> to hadoop-0.18:
> 08/09/09 03:28:36 INFO dfs.DFSClient: Exception in createBlockOutputStream 
> java.io.IOException: Could not read from stream
> 08/09/09 03:28:36 INFO dfs.DFSClient: Abandoning block 
> blk_624229997631234952_8205908
> DFSClient contains the logging code:
>         LOG.info("Exception in createBlockOutputStream " + ie);
> This would be better written with ie as the second argument to LOG.info, so 
> that the stack trace could be preserved.  As it is, I don't know how to start 
> debugging.

--
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

        

Reply via email to