Hi all,
I'm currently troubleshooting an issue involving tasks ran under the
default mapred account rather the user account and would greatly
appreciate any help or suggestion.
The guilty action can be summarized like that:
- The workflow contains a shell action
- The shell action starts a Bash shell script
- The shell script executes several Pig scripts and starts some map
reduce tasks
The issue is that the Pig scripts and MR tasks are submitted to the
jobtracker and executed using the mapred Hadoop user rather the same
user that is used to run the shell action.
I believe that this issue can trivially be explained because Hadoop
relies on the Unix username of the process which invoked submit and, if
security is not enabled, Hadoop uses a shared mapred Unix user to
execute the tasks. How can I configure Oozie, or at least my action, to
avoid a such escape ?
PS: Using shell scripts to do Oozie's job can be seen as dumb, but the
explanation is quite rational ;)
Thanks,
-- Clément