[
https://issues.apache.org/jira/browse/HIVE-338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723419#action_12723419
]
Joydeep Sen Sarma commented on HIVE-338:
----------------------------------------
it turns out that the way we did the classloader (thread and then current) is
not working for hadoop-20. The issue is that local job runner runs in a
separate thread. Setting the thread context classloader is useless. Based on
the changes for hadoop-4612 - it seems that the way to set the classloader is
to set it in the Conf object and then to always use the Conf objects
classloader for locating classes. Yuck.
For some reason it works (only) on hadoop-19. I have no idea how this stuff
works in hadoop-19 (and why setting the thread context loader makes a
difference in 17/18).
it might be best if we just fixed this as part of hive-487 (so that we could
address 20 related issues as well).
> Executing cli commands into thrift server
> -----------------------------------------
>
> Key: HIVE-338
> URL: https://issues.apache.org/jira/browse/HIVE-338
> Project: Hadoop Hive
> Issue Type: Improvement
> Components: Server Infrastructure
> Affects Versions: 0.3.0
> Reporter: Min Zhou
> Assignee: Zheng Shao
> Fix For: 0.4.0
>
> Attachments: hive-338.final.patch, HIVE-338.postfix.1.patch,
> hiveserver-v1.patch, hiveserver-v2.patch, hiveserver-v3.patch
>
>
> Let thrift server support set, add/delete file/jar and normal HSQL query.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.