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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: