You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Denis Kreis <de...@gmail.com> on 2011/11/18 12:47:00 UTC
Authentication
Hi all.
Can anyone give me an example how i can programmatically authenticate from
a remote client as a particular user?
Thanks!
Denis
Re: Authentication
Posted by Harsh J <ha...@cloudera.com>.
The word 'oozie' is to be taken just as an example on that document. You do not need Oozie to have that functionality.
P.s. Its name is used cause Oozie is a heavy external user of that API.
On 18-Nov-2011, at 8:22 PM, Jignesh Patel wrote:
> Harsh,
> Does that mean to implement authentication we need to have oozie jars with
> hadoop jars?
>
> -Jignesh
>
> On Fri, Nov 18, 2011 at 5:30 AM, Harsh J <ha...@cloudera.com> wrote:
>
>> Hello Denis,
>>
>> Here you go:
>> http://hadoop.apache.org/common/docs/stable/Secure_Impersonation.html
>>
>> On 18-Nov-2011, at 5:17 PM, Denis Kreis wrote:
>>
>>> Hi all.
>>>
>>> Can anyone give me an example how i can programmatically authenticate
>> from
>>> a remote client as a particular user?
>>>
>>> Thanks!
>>> Denis
>>
>>
Re: Authentication
Posted by Owen O'Malley <ow...@hortonworks.com>.
On Fri, Nov 18, 2011 at 6:52 AM, Jignesh Patel <ji...@websoft.com> wrote:
>
> Harsh,
> Does that mean to implement authentication we need to have oozie jars with
> hadoop jars?
To be clear, all of the functionality is in Hadoop. The user "oozie"
was used as an example and we should probably change the example to
look more like:
<property>
<name>hadoop.proxyuser.myproxy.groups</name>
<value>group1,group2</value>
</property>
<property>
<name>hadoop.proxyuser.myproxy.hosts</name>
<value>host1,host2</value>
</property>
Which enables the "myproxy" user to impersonate "group1" or "group2"
when working on "host1" or "host2".
-- Owen
Re: Authentication
Posted by Jignesh Patel <ji...@websoft.com>.
Harsh,
Does that mean to implement authentication we need to have oozie jars with
hadoop jars?
-Jignesh
On Fri, Nov 18, 2011 at 5:30 AM, Harsh J <ha...@cloudera.com> wrote:
> Hello Denis,
>
> Here you go:
> http://hadoop.apache.org/common/docs/stable/Secure_Impersonation.html
>
> On 18-Nov-2011, at 5:17 PM, Denis Kreis wrote:
>
> > Hi all.
> >
> > Can anyone give me an example how i can programmatically authenticate
> from
> > a remote client as a particular user?
> >
> > Thanks!
> > Denis
>
>
Re: Authentication
Posted by Denis Kreis <de...@gmail.com>.
Thank you very much!
2011/11/18 Harsh J <ha...@cloudera.com>
> Hello Denis,
>
> Here you go:
> http://hadoop.apache.org/common/docs/stable/Secure_Impersonation.html
>
> On 18-Nov-2011, at 5:17 PM, Denis Kreis wrote:
>
> > Hi all.
> >
> > Can anyone give me an example how i can programmatically authenticate
> from
> > a remote client as a particular user?
> >
> > Thanks!
> > Denis
>
>
Re: Authentication
Posted by Harsh J <ha...@cloudera.com>.
Hello Denis,
Here you go: http://hadoop.apache.org/common/docs/stable/Secure_Impersonation.html
On 18-Nov-2011, at 5:17 PM, Denis Kreis wrote:
> Hi all.
>
> Can anyone give me an example how i can programmatically authenticate from
> a remote client as a particular user?
>
> Thanks!
> Denis