Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

OOZIE : ACL property

OOZIE : ACL property

Explorer

Hi all,

My differents version : oozie 4.2.0.2.4 ; HDP-2.4.2.0

It is a bug ? My job oozie was launch by user2 and user1 want to kill the job, and :

oozie.job.acl is set to user1,user2

oozie version 4.2.0.2.4 ; HDP-2.4.2.0

<workflow-app xmlns="uri:oozie:workflow:0.4" name="${workflowName}">

    <global>
        <job-tracker>${jobTracker}</job-tracker>
        <name-node>${nameNode}</name-node>
        <configuration>                
            <property>
                <name>mapred.job.queue.name</name>
                <value>${queueName}</value>
            </property>
                <property>
                    <name>oozie.launcher.mapred.job.queue.name</name>
                    <value>${oozieQueueName}</value>
                </property>              

                        <property>
                           <name>oozie.job.acl</name>
                           <value>user1,user2</value>
                        </property>

oozie job -oozie http://master003.prod.mapreduce.m1.p.fti.net:11000/oozie -kill  0009106-170302153636775-oozie-oozi-W 

Error: E0508 : E0508:
User [user1] not authorized for WF job
[0009106-170302153636775-oozie-oozi-W]  

thanks

1 REPLY 1
Highlighted

Re: OOZIE : ACL property

Expert Contributor

@mayki wogno Just try to see if by deleting oozie auth token, if it helps you.

rm ~/.oozie-auth-token

Don't have an account?
Coming from Hortonworks? Activate your account here