Thanks Harsh for your quick response. I am preety new to oozie as well as
hadoop.
but in some blog I have seen if we enable the kerberos then it will
automatic pick the unix user.

And I can see the cloudera manager has a option to enable the kerberos, but
I am little scared to enable it. Would you able to guide if I enable it
then will it work.

Please help

On Fri, Mar 27, 2015 at 3:27 AM, Harsh J <[email protected]> wrote:

> This is not cause of Oozie, but cause of the way MR runs. Unless you turn
> on the LinuxTaskController (MR1) or the LinuxContainerExecutor (YARN+MR2)
> all task JVMs are spawned as the user that runs the TaskTracker
> (mapred)/NodeManager (yarn), and thereby any non-HDFS work done in these
> tasks (such as local FS writes/etc.) will be done only as that user.
>
> You should be able to configure LTC/LCE without turning on full security to
> have MR run task JVMs as the actual submitting user (this needs unix
> lookup-able accounts of the user on all processing hosts though, either
> manually or via ldap/etc.).
>
> You can email the Hadoop user group ([email protected]) for further
> questions on this.
>
> On Wed, Mar 25, 2015 at 5:46 PM, Bhagaban Khatai <[email protected]
> >
> wrote:
>
> > Hello,
> >
> > Can someone update how I cna change the user (who submit the oozie job)
> > from mapred user.
> >
> > I want to write some logs in a directory but bydefault it's taking mapred
> > user but the requirement is whoever submit the oozie job that user should
> > reflect in the log files.
> >
> > Please help me!
> >
>
>
>
> --
> Harsh J
>

Reply via email to