[ https://issues.apache.org/jira/browse/OOZIE-2718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaobin Zheng updated OOZIE-2718: --------------------------------- Attachment: OOZIE-2718-1.patch Patch OOZIE-2718-1.patch removes some redundant code in BundleSubmitXCommand to make dryrun for bundles work. With this patch, 'dryrun' of bundle does some basic verification of bundle configuration. There is existing code coverage for dryrun path of bundle submission about configuration verification(see TestBundleSubmitXCommand). Because the removal of those redundant code in issue, I was also able to remove some un-needed code in TestBundleSubmitXCommand as well. Please take a look. > 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)