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

Improve error handling in hdfsThreadDestructor in native thread local storage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.3.0
    • native
    • None
    • Reviewed

    Description

      In the hdfsThreadDestructor() function, we ignore the return value from the DetachCurrentThread() call. We are seeing cases where a native thread dies while holding a JVM monitor, and it doesn't release the monitor. We're hoping that logging this error instead of ignoring it will shed some light on the issue. In any case, it's good programming practice.

      Attachments

        1. HDFS-14015.001.patch
          2 kB
          Daniel Templeton
        2. HDFS-14015.002.patch
          1 kB
          Daniel Templeton
        3. HDFS-14015.003.patch
          2 kB
          Daniel Templeton
        4. HDFS-14015.004.patch
          3 kB
          Daniel Templeton
        5. HDFS-14015.005.patch
          2 kB
          Daniel Templeton
        6. HDFS-14015.006.patch
          1 kB
          Daniel Templeton
        7. HDFS-14015.007.patch
          7 kB
          Daniel Templeton
        8. HDFS-14015.008.patch
          7 kB
          Daniel Templeton
        9. HDFS-14015.009.patch
          7 kB
          Daniel Templeton
        10. HDFS-14015.010.patch
          7 kB
          Daniel Templeton
        11. HDFS-14015.011.patch
          7 kB
          Daniel Templeton
        12. HDFS-14015.012.patch
          7 kB
          Daniel Templeton

        Issue Links

          Activity

            People

              templedf Daniel Templeton
              templedf Daniel Templeton
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: