That is what I am not allowed to do. I need somehow inpersonate a different user. On 16 Oct 2014 17:19, "Sathi Chowdhury" <[email protected]> wrote:
> Hi Jakub, > In core-site.xml please make these changes > hadoop.proxyuser.oozie.groups=* > > hadoop.proxyuser.oozie.hosts=* > you may need to restart HDFS. > > You then will be able to submit as JS185350. > > Thanks > Sathi > > On 10/16/14, 8:05 AM, "Jakub Stransky" <[email protected]> wrote: > > >Hello experienced users, > > > >I am a new user trying to run a set of tests using a oozieClient and I am > >getting following error: > > > >E0501 : E0501: Could not perform authorization operation, User: oozie is > >not allowed to impersonate JS185350 > >at org.apache.oozie.client.OozieClient.handleError(OozieClient.java:508) > >at > >org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:591) > >at > >org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:561) > >at > >org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:4 > >79) > >at org.apache.oozie.client.OozieClient.run(OozieClient.java:655) > > > >Which is correct as the only allowed user is jobsubmit as a member of > >group > >users. Is there some way how to submit as a different user? I am not > >allowed to change cluster configuration and need to run some tests. I need > >to find some way how to run workflow from java. > > > >Thanks for helping me out. > >Jakub > >
