Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1034

RuntimeException and Error not catched in DataNode.DataXceiver.run()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      Only IOException is catched and logged (in warn).

      Every Throwable should be logged in error.

      Eg: a RuntimeException occurs in the writeBlock() method. The exception will not be logged, but simply ignored. The socket is closed silently and nothing and an non understandable exception will be thrown in the DFSClient sending the block....

        Attachments

        1. patch-catch-throwable
          0.6 kB
          Philippe Gassmann

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              phil@anyware-tech.com Philippe Gassmann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: