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

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

hmmm - the MapRedTask changes don't seem good to me ..

the conf variable that gets passed to MapRedTask is a shared global object i 
think. if we set added jars into it - then delete jar command will not work.

also - -libjars is the proper way of passing jars to hadoop based commands. it 
also sets the supplied jars into the sub-process's classpath - something that 
we depend on hadoop to do. so if the execdriver subprocess needs to access (by 
any chance) classes in the added/aux jars - then things will not work. bin/hive 
also uses -libjars to make sure jars are added to the process classpath.

if the problem is primarily with the file:/ uri - why do we need the mapredtask 
changes?

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

Reply via email to