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

Improve error handling in hdfsThreadDestructor in native thread local storage

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.3.0
    • Component/s: native
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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.012.patch
          7 kB
          Daniel Templeton
        2. HDFS-14015.011.patch
          7 kB
          Daniel Templeton
        3. HDFS-14015.010.patch
          7 kB
          Daniel Templeton
        4. HDFS-14015.009.patch
          7 kB
          Daniel Templeton
        5. HDFS-14015.008.patch
          7 kB
          Daniel Templeton
        6. HDFS-14015.007.patch
          7 kB
          Daniel Templeton
        7. HDFS-14015.006.patch
          1 kB
          Daniel Templeton
        8. HDFS-14015.005.patch
          2 kB
          Daniel Templeton
        9. HDFS-14015.004.patch
          3 kB
          Daniel Templeton
        10. HDFS-14015.003.patch
          2 kB
          Daniel Templeton
        11. HDFS-14015.002.patch
          1 kB
          Daniel Templeton
        12. HDFS-14015.001.patch
          2 kB
          Daniel Templeton

        Issue Links

          Activity

            People

            • Assignee:
              templedf Daniel Templeton
              Reporter:
              templedf Daniel Templeton

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment