Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E46F89C1B for ; Thu, 27 Oct 2011 12:10:03 +0000 (UTC) Received: (qmail 76131 invoked by uid 500); 27 Oct 2011 12:10:03 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 75988 invoked by uid 500); 27 Oct 2011 12:10:02 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 75979 invoked by uid 99); 27 Oct 2011 12:10:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 12:10:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gabrieleisbruch@gmail.com designates 74.125.82.176 as permitted sender) Received: from [74.125.82.176] (HELO mail-wy0-f176.google.com) (74.125.82.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 12:09:57 +0000 Received: by wyf19 with SMTP id 19so3916458wyf.35 for ; Thu, 27 Oct 2011 05:09:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=lcp87MJe/psChDj0CSHRCiygBw81nfsauyC2ZpaYm10=; b=jbAVEA25vF/7hxlWo7Onikgl9wMJZfPQTbA+JfcHWTUTfKsOeGTPHSpfld7Rb8LzYz FeltDeCG6k9DugW5vPgE6HchLk32zmyn7zZsFP7VakexPVyDd2DkhRZ2z5Qg+jKJudGB 6IbhhNWlkpoz8LDzrjzX43nTFNyjxr56XAIzM= Received: by 10.216.186.211 with SMTP id w61mr2504694wem.75.1319717376101; Thu, 27 Oct 2011 05:09:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.158.75 with HTTP; Thu, 27 Oct 2011 05:09:15 -0700 (PDT) In-Reply-To: References: <4F6B25AFFFCAFE44B6259A412D5F9B10395A7182@ExchMBX104.netflix.com> From: Gabriel Eisbruch Date: Thu, 27 Oct 2011 09:09:15 -0300 Message-ID: Subject: Re: Problem With HDFS USERS using JDBC To: user@hive.apache.org Content-Type: multipart/alternative; boundary=00163646d0e2680e2d04b046a536 --00163646d0e2680e2d04b046a536 Content-Type: text/plain; charset=ISO-8859-1 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 Thanks, Gabriel 2011/10/27 Alexander C.H. Lorenz > Depends on your configuration (security in core-site.xml; > hadoop.security.authorization). 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 > /path/in/hdfs > > Did you mean something like that? > > regards, > Alex > > > On Thu, Oct 27, 2011 at 4:23 AM, Steven Wong wrote: > >> 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 [mailto:gabrieleisbruch@gmail.com] >> *Sent:* Tuesday, October 25, 2011 12:07 PM >> *To:* user@hive.apache.org >> *Subject:* Problem With HDFS USERS using JDBC**** >> >> ** ** >> >> Hello, >> 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. >> >> Thanks >> Gabriel. **** >> > > > > -- > Alexander Lorenz > http://mapredit.blogspot.com > > > --00163646d0e2680e2d04b046a536 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Really My problem it's a little different, we have created all users th= at we need, but we can't set this users using jdbc, our system user it&= #39;s different that we need to use to connect to hive, so when we try to d= o a LOAD action we saw that hive server try to use the user HIVE instead of= the user that we try to use

Thanks,
Gabriel
2011/10/27 Alexander C= .H. Lorenz <wget.null@googlemail.com>

<= br>
On Thu, Oct 27, 2011 at 4:23 AM, Steven Wong = <swong@netflix.com> wrote:

It is unclear to me if Hive JDBC and Hive Server support changing th= e user to a user not used by the Hive Server. Can someone familiar with Hiv= e authentication please comment?

=A0

=A0

From: Gabriel Eisbruch [mailto:gabrieleisbruch@gmail.com]
Sent: Tuesday, October 25, 2011 12:07 PM
To: user@hive.apache.org
Subject: Problem With HDFS USERS using JDBC

=A0

Hello,
=A0=A0=A0=A0=A0=A0=A0=A0 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 b= y the hive server was HIVE.

Thanks
Gabriel. <= /p>



--

--00163646d0e2680e2d04b046a536--