[ 
https://issues.apache.org/jira/browse/OOZIE-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15513177#comment-15513177
 ] 

Abhishek Bafna commented on OOZIE-2678:
---------------------------------------

Instead of re-writing similar piece of code for {{tez}}, {{spark}} yarn tag, 
written a method which takes tag property as parameter and sets it.

{code}
    protected static void setTags(Configuration actionConf, String tags) {
        if (actionConf.get(MAPREDUCE_JOB_TAGS) != null) {
            System.out.println("Setting [" + tags + "] tag: " + 
actionConf.get(MAPREDUCE_JOB_TAGS));
            actionConf.set(tags, actionConf.get(MAPREDUCE_JOB_TAGS));
        }
    }
{code}

> Oozie job -kill doesn't work with tez jobs
> ------------------------------------------
>
>                 Key: OOZIE-2678
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2678
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Rohini Palaniswamy
>            Assignee: Abhishek Bafna
>             Fix For: 4.3.0
>
>         Attachments: OOZIE-2678-00.patch, OOZIE-2678-01.patch, 
> OOZIE-2678-02.patch
>
>
>  OOZIE-2243 added support for mapreduce jobs. We need to do that for Tez jobs 
> as well. TEZ-909 added tez.application.tags similar to mapreduce.job.tags,



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to