Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2726

"Exception in createBlockOutputStream" shouldn't delete exception stack trace

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.1
    • None
    • None

    Description

      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.

      Attachments

        1. HDFS-2726.patch
          0.8 kB
          Harsh J

        Activity

          People

            qwertymaniac Harsh J
            bien Michael Bieniosek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: