Hi Everybody

Any help in this, I am still not able to fix the issue. I am using oozie
Java client API to run the job
OozieClient oc = new OozieClient(url);
.....set the conf parameter....

oc.suspend (jobid);

I am running the job in another Java class and getting the job ID and
suspending in the Java class

But I am still getting
E0508 : E0508 : User [?] not authorized for WF job [jobno] error

Please let me know how to fix the issue

Thanks
Hanmayya
On 26-Apr-2016 3:00 pm, "Hanmay Udgiri" <[email protected]> wrote:

Hi All,
I have Oozie Java client class which is creating the workflow and running
the workflow

I am using the simple oozie client API to run the job

I need suspend the job, if there are any validation issues. I am using
oozie client suspend method which takes a job ID as a parameter.

But I am getting E0508 : E0508 : User [?] not authorized for WF job [jobno]

I have set both user name and user parameter for both system and
configuration, but still getting same error

Please let me know how we fix the issue

Thanks
Hanmayya

Reply via email to