hive-dev mailing list archives

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


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

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

View raw message