Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce >> mail # user >> Impersonating HDFS user


+
Oleg Zhurakousky 2012-10-05, 13:19
+
Bertrand Dechoux 2012-10-05, 13:34
Copy link to this message
-
Re: Impersonating HDFS user
After i clicked send I found the same link ;), but thank you anyway.

Oleg

On Fri, Oct 5, 2012 at 9:34 AM, Bertrand Dechoux <[EMAIL PROTECTED]> wrote:

> Hi,
>
> You might be looking for something like :
> UserGroupInformation.createRemoteUser(user).doAs(
>
> see
>
> http://hadoop.apache.org/docs/r1.0.3/api/org/apache/hadoop/security/UserGroupInformation.html
>
> It is a JAAS wrapper for Hadoop.
>
> Regards
>
> Bertrand
>
>
>
>
> On Fri, Oct 5, 2012 at 3:19 PM, Oleg Zhurakousky <
> [EMAIL PROTECTED]> wrote:
>
>> I am working on some samples where I want to write to HDFS running on
>> another machine (different OS etc.)
>> The identity of my client process is just whatever my OS says it is
>> (e.g., 'oleg') hence:
>>
>> 08:56:49,240 DEBUG IPC Client (47) connection to /192.168.15.20:54310from oleg ipc.Client:803 - IPC Client (47) connection to /
>> 192.168.15.20:54310 from oleg got value #2
>>
>> But there is no 'oleg' where the hadoop is running. Instead there is
>> 'hduser'.
>>
>> Is there a way or an equivalent of "RunAs" in hadoop?
>>
>> Thanks
>>  Oleg
>>
>
>
>
> --
> Bertrand Dechoux
>
+
Oleg Zhurakousky 2012-10-05, 14:15
+
Bertrand Dechoux 2012-10-05, 14:33
+
Oleg Zhurakousky 2012-10-05, 14:40
+
Oleg Zhurakousky 2012-10-05, 14:42
+
Chris Nauroth 2012-10-05, 19:29
+
Oleg Zhurakousky 2012-10-05, 23:58