Hi Micha,

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


Raja.

-----Original Message-----
From: Micah Whitacre [mailto:[email protected]] 
Sent: Thursday, April 23, 2015 4:04 AM
To: [email protected]; 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 < 
[email protected]> wrote:

> Try -Duser.name=<username>
> oozie  job -submit -config job.properties -oozie 
> http://localhost:11000/oozie/ -Duser.name=aaa
>
> Puru.
>       From: Raja. Aravapalli <[email protected]>
>  To: "[email protected]" <[email protected]>
>  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.
>
>
>
>

Reply via email to