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

Hive sets thread's ContextClassLoader to null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.8.1
    • None
    • None
    • None

    Description

      From HIVE-2163:

      https://issues.apache.org/jira/browse/HIVE-2163?focusedCommentId=13188876&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13188876

      We came across this same issue in another scenario - it looks like Hive is somewhere setting the thread's ContextClassLoader to null. I opened HADOOP-7982 to work around the issue from the Hadoop side, but I think Hive must have a bug that causes these problems.
      ...
      Unfortunately the other situation was integrated into some non-open-source software, so it's not easy to reproduce. It does make use of the Hive metadata, so my guess is that calling into some SessionState code (as described above in this ticket) was the culprit. I did verify that the ContextClassLoader was set to null which is what caused the problem, I just couldn't tell how it got that way.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cwsteinbach Carl Steinbach
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: