Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-415

Unchecked exception thrown inside of BlockReceiver cause some threads hang

    Details

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

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

        Activity

          People

          • Assignee:
            Konstantin Boudnik
            Reporter:
            Konstantin Boudnik
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development