hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee S <sle...@gmail.com>
Subject Re: How to set add jar jarpath within hive jdbc query?
Date Fri, 06 Nov 2015 08:00:07 GMT
Put jar in lib or on hdfs both works.

And also indicates a local path on hiveserver host  works, too.

But, the path needs to under the user hive.
p.s  How to change the default user hive when I connect to hive server ?

On Thu, Nov 5, 2015 at 10:33 PM, Chetna C <chetna.git@gmail.com> wrote:

> You can move your auxiliary jars to some hdfs location. And use that path
> instead of local path.
>
> Thanks,
> Chetna Chaudhari
>
> On 5 November 2015 at 19:13, Suresh Kumar Sethuramaswamy <
> rockssk@gmail.com> wrote:
>
>> You can try adding it in hive/lib location on all the cluster nodes. You
>> dont need to add it part of your query
>>
>> On Thu, Nov 5, 2015 at 3:59 AM, Lee S <sleefd@gmail.com> wrote:
>>
>>> Hi all:
>>>   I try to execute hive query in a remote client through hive server2
>>> jdbc.
>>>
>>>   I want to 'add jar' used as serde before create a table.
>>>
>>>  But when I set the jar path local to the hive server host, it said the
>>> jar does not exist.
>>>
>>>  And when I set the jar in the client , it said failed to read external
>>> resource.
>>>
>>> How to set the jar path ?
>>>
>>
>>
>

Mime
View raw message