hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joydeep Sen Sarma (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-338) Executing cli commands into thrift server
Date Wed, 24 Jun 2009 02:31:07 GMT

    [ https://issues.apache.org/jira/browse/HIVE-338?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723402#action_12723402
] 

Joydeep Sen Sarma commented on HIVE-338:
----------------------------------------

the initial change only used the thread context classloader for looking up the class.

the change i made was to (in addition) use the current (default) class loader if the thread
context loader was null. this is in sync with the example you pointed out in Configuration.java
(and in general seems like the right way after reading a few documents on the web). Note that
it's not just FunctionTask - wherever we pick up user configured classes (inputformat being
another obvious place) - we need to use this logic (and this was missing from the patch as
well).

it's possible there's some other issue if we are getting classnotfound. Zheng just committed
the postfix patch that he has posted here earlier in the day - it might make sense to revert
to an earlier version (in case u are synced to the latest trunk) prior to this commit and
check if that works.

> 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.


Mime
View raw message