[ https://issues.apache.org/jira/browse/OOZIE-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853411#comment-15853411 ]
Xiaobin Zheng commented on OOZIE-2718: -------------------------------------- The output with patch-1 is as follows: # oozie job -oozie http://xxxxx/oozie -config xxxx.xml -dryrun ***coordJob after parsing: *** <bundle-app xmlns="uri:oozie:bundle:0.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="My Bundle - 1"> <parameters> <property> <name>oozie.use.system.libpath</name> <value>true</value> </property> </parameters> <controls> <kick-off-time>2017-02-05T14:28Z</kick-off-time> </controls> <coordinator name="My Coordinator - 1-0"> <app-path>hdfs://xxxx</app-path> <configuration> <property> <name>wf_application_path</name> <value>hdfs://xxxxxx</value> </property> <property> <name>start_date</name> <value>2017-02-05T22:27Z</value> </property> <property> <name>end_date</name> <value>2017-02-12T22:27Z</value> </property> </configuration> </coordinator> </bundle-app> > Improve -dryrun for bundles > --------------------------- > > Key: OOZIE-2718 > URL: https://issues.apache.org/jira/browse/OOZIE-2718 > Project: Oozie > Issue Type: Bug > Reporter: Peter Cseh > Assignee: Xiaobin Zheng > Attachments: OOZIE-2718-1.patch > > > When trying to do a -dryrun for Oozie: > {code} > error: > Error: E1310 : E1310: Bundle Job submission Error: [null] > {code} > The > [documentation|https://oozie.apache.org/docs/4.2.0/DG_CommandLineTool.html#Dryrun_of_Coordinator_Job] > states that dryruns are working for workflows and coordinators. > {quote} > "Dryrun a workflow (since 3.3.2) or coordinator (since 2.0) job without > actually executing it" > {quote} > The easy fix is to document that it does not work and create an appropriate > error message for it. It's also possible to add support for bundle dryruns. -- This message was sent by Atlassian JIRA (v6.3.15#6346)