hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sriram Krishnan <>
Subject Re: Problem With HDFS USERS using JDBC
Date Thu, 27 Oct 2011 17:16:24 GMT
I had asked a similar question earlier -

But I didn't get any responses. This may be a limitation of Hive JDBC. I would also be curious
to know if there is a solution to this.


From: Gabriel Eisbruch <<>>
Reply-To: "<>" <<>>
Date: Thu, 27 Oct 2011 05:09:15 -0700
To: "<>" <<>>
Subject: Re: Problem With HDFS USERS using JDBC

Really My problem it's a little different, we have created all users that we need, but we
can't set this users using jdbc, our system user it's different that we need to use to connect
to hive, so when we try to do a LOAD action we saw that hive server try to use the user HIVE
instead of the user that we try to use

2011/10/27 Alexander C.H. Lorenz <<>>
Depends on your configuration (security in core-site.xml;
HDFS uses pam-auth, which means the user has to exist. Maybe "su - USERNAME". Or you put the
data into hdfs and change the rights as the supergroup-member: hadoop dfs -chown -R USERNAME

Did you mean something like that?


On Thu, Oct 27, 2011 at 4:23 AM, Steven Wong <<>>
It is unclear to me if Hive JDBC and Hive Server support changing the user to a user not used
by the Hive Server. Can someone familiar with Hive authentication please comment?

From: Gabriel Eisbruch [<>]
Sent: Tuesday, October 25, 2011 12:07 PM
Subject: Problem With HDFS USERS using JDBC

         any body could tell me how can I do to set the hdfs user and group in a LOAD sentence
from the JDBC driver? I have tried with many diferents way but ever that I tried the user
used by the hive server was HIVE.


Alexander Lorenz

View raw message