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 <[email protected]> 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:[email protected]] > *Sent:* Tuesday, October 25, 2011 12:07 PM > *To:* [email protected] > *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
