You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@oozie.apache.org by "Raja.Aravapalli" <Ra...@target.com> on 2015/04/22 19:24:23 UTC

user.name

Hi

Can anyone help me identify how oozie pickup the user.name value ?

I mean, how will oozie identify who submitted a workflow ? How will oozie set a value to its "user.name" property ?

Thru which property/command oozie will get to know who submitted the workflow and set the value for "user.name" ? I want to change this !!

Is there a way I can change this auto pick up value for user.name and submit the workflow as another user ?


Below are two options I tried:


1.       Add "-doas"  parameter to the oozie command, but that did not work because user is not defined as proxy user.

2.       In the job.properties value I tried to set "user.name=xyz". But this doesn't work.


Can anyone pls help me .....


Thanks a lot in adavance.


Raja.


RE: user.name

Posted by "Raja.Aravapalli" <Ra...@target.com>.
Hi Micha,

I already tried setting "user.name" in job.properties file, that did not work..


Raja.

-----Original Message-----
From: Micah Whitacre [mailto:mkwhit@gmail.com] 
Sent: Thursday, April 23, 2015 4:04 AM
To: user@oozie.apache.org; Purshotam Shah
Subject: Re: user.name

Or can't you just specify that in the job.properties file already?

On Wed, Apr 22, 2015 at 1:45 PM, Purshotam Shah < purushah@yahoo-inc.com.invalid> wrote:

> Try -Duser.name=<username>
> oozie  job -submit -config job.properties -oozie 
> http://localhost:11000/oozie/ -Duser.name=aaa
>
> Puru.
>       From: Raja. Aravapalli <Ra...@target.com>
>  To: "user@oozie.apache.org" <us...@oozie.apache.org>
>  Sent: Wednesday, April 22, 2015 10:24 AM
>  Subject: user.name
>
> Hi
>
> Can anyone help me identify how oozie pickup the user.name value ?
>
> I mean, how will oozie identify who submitted a workflow ? How will 
> oozie set a value to its "user.name" property ?
>
> Thru which property/command oozie will get to know who submitted the 
> workflow and set the value for "user.name" ? I want to change this !!
>
> Is there a way I can change this auto pick up value for user.name and 
> submit the workflow as another user ?
>
>
> Below are two options I tried:
>
>
> 1.      Add "-doas"  parameter to the oozie command, but that did not work
> because user is not defined as proxy user.
>
> 2.      In the job.properties value I tried to set "user.name=xyz". But
> this doesn't work.
>
>
> Can anyone pls help me .....
>
>
> Thanks a lot in adavance.
>
>
> Raja.
>
>
>
>

Re: user.name

Posted by Micah Whitacre <mk...@gmail.com>.
Or can't you just specify that in the job.properties file already?

On Wed, Apr 22, 2015 at 1:45 PM, Purshotam Shah <
purushah@yahoo-inc.com.invalid> wrote:

> Try -Duser.name=<username>
> oozie  job -submit -config job.properties -oozie
> http://localhost:11000/oozie/ -Duser.name=aaa
>
> Puru.
>       From: Raja. Aravapalli <Ra...@target.com>
>  To: "user@oozie.apache.org" <us...@oozie.apache.org>
>  Sent: Wednesday, April 22, 2015 10:24 AM
>  Subject: user.name
>
> Hi
>
> Can anyone help me identify how oozie pickup the user.name value ?
>
> I mean, how will oozie identify who submitted a workflow ? How will oozie
> set a value to its "user.name" property ?
>
> Thru which property/command oozie will get to know who submitted the
> workflow and set the value for "user.name" ? I want to change this !!
>
> Is there a way I can change this auto pick up value for user.name and
> submit the workflow as another user ?
>
>
> Below are two options I tried:
>
>
> 1.      Add "-doas"  parameter to the oozie command, but that did not work
> because user is not defined as proxy user.
>
> 2.      In the job.properties value I tried to set "user.name=xyz". But
> this doesn't work.
>
>
> Can anyone pls help me .....
>
>
> Thanks a lot in adavance.
>
>
> Raja.
>
>
>
>

RE: user.name

Posted by "Raja.Aravapalli" <Ra...@target.com>.
Hi Purshotam Shah,

Tried appending "-Duser.name=aaa " as you suggested. Still it is not working. 


Regards,
Raja.

-----Original Message-----
From: Purshotam Shah [mailto:purushah@yahoo-inc.com.INVALID] 
Sent: Thursday, April 23, 2015 12:15 AM
To: user@oozie.apache.org
Subject: Re: user.name

Try -Duser.name=<username>
oozie  job -submit -config job.properties -oozie http://localhost:11000/oozie/ -Duser.name=aaa

Puru.
      From: Raja. Aravapalli <Ra...@target.com>
 To: "user@oozie.apache.org" <us...@oozie.apache.org> 
 Sent: Wednesday, April 22, 2015 10:24 AM
 Subject: user.name
   
Hi

Can anyone help me identify how oozie pickup the user.name value ?

I mean, how will oozie identify who submitted a workflow ? How will oozie set a value to its "user.name" property ?

Thru which property/command oozie will get to know who submitted the workflow and set the value for "user.name" ? I want to change this !!

Is there a way I can change this auto pick up value for user.name and submit the workflow as another user ?


Below are two options I tried:


1.      Add "-doas"  parameter to the oozie command, but that did not work because user is not defined as proxy user.

2.      In the job.properties value I tried to set "user.name=xyz". But this doesn't work.


Can anyone pls help me .....


Thanks a lot in adavance.


Raja.


  

Re: user.name

Posted by Purshotam Shah <pu...@yahoo-inc.com.INVALID>.
Try -Duser.name=<username>
oozie  job -submit -config job.properties -oozie http://localhost:11000/oozie/ -Duser.name=aaa

Puru.
      From: Raja. Aravapalli <Ra...@target.com>
 To: "user@oozie.apache.org" <us...@oozie.apache.org> 
 Sent: Wednesday, April 22, 2015 10:24 AM
 Subject: user.name
   
Hi

Can anyone help me identify how oozie pickup the user.name value ?

I mean, how will oozie identify who submitted a workflow ? How will oozie set a value to its "user.name" property ?

Thru which property/command oozie will get to know who submitted the workflow and set the value for "user.name" ? I want to change this !!

Is there a way I can change this auto pick up value for user.name and submit the workflow as another user ?


Below are two options I tried:


1.      Add "-doas"  parameter to the oozie command, but that did not work because user is not defined as proxy user.

2.      In the job.properties value I tried to set "user.name=xyz". But this doesn't work.


Can anyone pls help me .....


Thanks a lot in adavance.


Raja.