hadoop - How to use OozieClient.doAs -


i'm trying start oozie workflow web service. 1 of actions should delete , create folders. concretely, want empty folder before starting java action (which serves driver mapreduce job). know there "prepare" part in java action can specify path delete,but need delete files in folder, keep folder. that's why i'm using fs action, delete folder , make folder.

the problem is, when run using oozieclient.run exception says there problem permissions, since i'm running workflow root user.

i found can use oozieclient.doas impersonate specific user, i'm not able use reason. internal oozie exception.

can show me how run workflow specific user, or @ least point me example?

one way run oozie job specific user secure oozie using kerberos active directory. can authenticate user active directory , run oozie job authenticated user.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -