Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-7409

Add workaround for a deadlock issue of Class.getAnnotation()

    XMLWordPrintableJSON

Details

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

    Description

      JDK-7122142 mentions that there is a race condition in getAnnotations. This problem can lead deadlock. The fix on JDK will be merged on jdk8, but hive supports jdk6/jdk7 currently. Therefore, we should add workaround to avoid the issue.

      Attachments

        1. stacktrace.txt
          3 kB
          Tsuyoshi Ozawa
        2. HIVE-7409.2.patch.txt
          15 kB
          Navis Ryu
        3. HIVE-7409.1.patch
          3 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

              ozawa Tsuyoshi Ozawa
              ozawa Tsuyoshi Ozawa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: