hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sai chaitanya tirumerla <tirume...@gmail.com>
Subject Re: Need Help : Hiveserver2 JDBC/ODBC tools Connected as default user
Date Wed, 06 Aug 2014 17:34:51 GMT
Hi D,

Thanks for the information . I have tried this option but unfortunately it
is inheriting the configs of the default user. The connection is made using
default user configs but the mapreduce jobs are running with the username
connected to the hiveserver2.

Thanks,
Sai


On Wed, Aug 6, 2014 at 4:34 AM, D K <deepeshk@gmail.com> wrote:

> Try restarting the Hive Server 2 with the setting
> "hive.server2.enable.doAs=true" in hive-site.xml. This will make
> HiveServer2 perform actions as connecting user.
>
>
>
> On Tue, Aug 5, 2014 at 5:16 PM, sai chaitanya tirumerla <
> tirumerla@gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to connect using my username and password  from JDBC/ODBC
>> tools ( sql workbench/squirrel etc..) to hiveserver2 but always the
>> connection is made with the default user who starts hiveserver2 but not the
>> actual user who is getting connected.
>>
>>  I could see it is inheriting all the properties( hive-site.xml ) of the
>> default user but not the properties of the connected user. Is there any way
>> that we can change this connecting to hiveserver2.
>>
>>
>> Thanks,
>> Sai
>>
>
>

Mime
View raw message