Support Questions

Find answers, ask questions, and share your expertise

OOZIE : ACL property

avatar
Rising Star

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

avatar
Super Collaborator

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

rm ~/.oozie-auth-token