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

Rohini Palaniswamy commented on OOZIE-2139:
-------------------------------------------

Can simplify code to 

{code}

conf = new XConfiguration(new StringReader(oldCoordJob.getConf()));

+                if 
(StringUtils.isEmpty(conf.get(OozieClient.COORDINATOR_APP_PATH))) {
+                    for (String bundleConfKey : bundleConfList) {
+                        if (jobConf.get(bundleConfKey) != null) {
+                            conf.set(bundleConfKey, 
jobConf.get(bundleConfKey));
+                        }
+                    }
+                    conf.set(OozieClient.COORDINATOR_APP_PATH, 
jobConf.get(OozieClient.COORDINATOR_APP_PATH));
+                }
{code}

> Coord update doesn't work for job which is submitted by bundle
> --------------------------------------------------------------
>
>                 Key: OOZIE-2139
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2139
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Purshotam Shah
>            Assignee: Purshotam Shah
>         Attachments: OOZIE-2139-V1.patch
>
>




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

Reply via email to