Hadoop on multiple user mode

2013-11-11 Thread rab ra
Hello

I want to configure hadoop so that it is started as user admin and more
than one user can launch job. I notice that while i submit job as a guest
user, the map process is executed as admin user. I print user home in my
main code as well as inside map process. Is there a way span map process a
job submitting user?


Hadoop on multiple user mode?

2013-11-11 Thread rab ra
-- Forwarded message --
From: "rab ra" 
Date: 11 Nov 2013 20:11
Subject: Hadoop on multiple user mode
To: "user@hadoop.apache.org" 

Hello

I want to configure hadoop so that it is started as user admin and more
than one user can launch job. I notice that while i submit job as a guest
user, the map process is executed as admin user. I print user home in my
main code as well as inside map process. Is there a way span map process a
job submitting user?


Re: Hadoop on multiple user mode?

2013-11-11 Thread Harsh J
If you'd like the tasks to use the actual submitting user accounts,
you'll need to turn on security, or more specifically use the
LinuxTaskController instead of the DefaultTaskController.

On Mon, Nov 11, 2013 at 10:07 PM, rab ra  wrote:
> -- Forwarded message --
> From: "rab ra" 
> Date: 11 Nov 2013 20:11
> Subject: Hadoop on multiple user mode
> To: "user@hadoop.apache.org" 
>
> Hello
>
> I want to configure hadoop so that it is started as user admin and more than
> one user can launch job. I notice that while i submit job as a guest user,
> the map process is executed as admin user. I print user home in my main code
> as well as inside map process. Is there a way span map process a job
> submitting user?



-- 
Harsh J


Re: Hadoop on multiple user mode?

2013-11-12 Thread rab ra
Thanks for the response. However I could not find LinuxTaskController in
hadoop 2.2.0.
On 12 Nov 2013 03:10, "Harsh J"  wrote:

> If you'd like the tasks to use the actual submitting user accounts,
> you'll need to turn on security, or more specifically use the
> LinuxTaskController instead of the DefaultTaskController.
>
> On Mon, Nov 11, 2013 at 10:07 PM, rab ra  wrote:
> > -- Forwarded message --
> > From: "rab ra" 
> > Date: 11 Nov 2013 20:11
> > Subject: Hadoop on multiple user mode
> > To: "user@hadoop.apache.org" 
> >
> > Hello
> >
> > I want to configure hadoop so that it is started as user admin and more
> than
> > one user can launch job. I notice that while i submit job as a guest
> user,
> > the map process is executed as admin user. I print user home in my main
> code
> > as well as inside map process. Is there a way span map process a job
> > submitting user?
>
>
>
> --
> Harsh J
>


Re: Hadoop on multiple user mode?

2013-11-12 Thread Harsh J
Hi,

In MR2 over YARN, you'll need to configure the LinuxContainerExecutor
instead.


On Tue, Nov 12, 2013 at 2:11 PM, rab ra  wrote:

> Thanks for the response. However I could not find LinuxTaskController in
> hadoop 2.2.0.
> On 12 Nov 2013 03:10, "Harsh J"  wrote:
>
>> If you'd like the tasks to use the actual submitting user accounts,
>> you'll need to turn on security, or more specifically use the
>> LinuxTaskController instead of the DefaultTaskController.
>>
>> On Mon, Nov 11, 2013 at 10:07 PM, rab ra  wrote:
>> > -- Forwarded message ------
>> > From: "rab ra" 
>> > Date: 11 Nov 2013 20:11
>> > Subject: Hadoop on multiple user mode
>> > To: "user@hadoop.apache.org" 
>> >
>> > Hello
>> >
>> > I want to configure hadoop so that it is started as user admin and more
>> than
>> > one user can launch job. I notice that while i submit job as a guest
>> user,
>> > the map process is executed as admin user. I print user home in my main
>> code
>> > as well as inside map process. Is there a way span map process a job
>> > submitting user?
>>
>>
>>
>> --
>> Harsh J
>>
>


-- 
Harsh J