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

Unchecked exception thrown inside of BlockReceiver cause some threads hang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None

    Description

      One is able to inject all sorts of faults into Hadoop's classes using new fault injection framework (HADOOP-6003).
      I've been injecting unchecked exception (RuntimeException) into BlockReceiver.receivePacket() method before any
      of write() operations (e.g. line 401, 449, 463, 529) and running some of the existing HDFS tests. The injection of unchecked exceptions causes DataXceiver to die silently and without any traces.

      From a debugger run it seems like some threads are being left alive or not notified about the exception.

      Attachments

        1. copy.txt.log
          28 kB
          Konstantin I Boudnik
        2. x2
          29 kB
          Konstantin I Boudnik
        3. HADOOP-6073.patch
          0.8 kB
          Konstantin I Boudnik
        4. HADOOP-6073.patch
          2 kB
          Konstantin I Boudnik

        Activity

          People

            cos Konstantin I Boudnik
            cos Konstantin I Boudnik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: