Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2726

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.1
    • Component/s: None
    • Labels:
      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.

        Activity

          People

          • Assignee:
            Harsh J
            Reporter:
            Michael Bieniosek
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development