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

[email protected] commented on OOZIE-769:
-----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4407/
-----------------------------------------------------------

Review request for oozie.


Summary
-------

Currently, you can export the env variable OOZIE_DEBUG to a non-zero value to 
get debug statements on stdout after job submit/run. This patch is making this 
feature available by alternately specifying '-debug' through the CLI arguments.

e.g. oozie job -run -config <job.properties> -debug

Starting right now with getting basic debug output such as the Http connection 
URL to the server, this can be later extended for printing more debug 
statements at various stages of the Oozie process. 


This addresses bug OOZIE-769.
    https://issues.apache.org/jira/browse/OOZIE-769


Diffs
-----

  trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1301249 
  trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java 1301249 

Diff: https://reviews.apache.org/r/4407/diff


Testing
-------


Thanks,

Mona


                
> Adding "-debug" option to Oozie CLI for debug statements to stdout
> ------------------------------------------------------------------
>
>                 Key: OOZIE-769
>                 URL: https://issues.apache.org/jira/browse/OOZIE-769
>             Project: Oozie
>          Issue Type: Improvement
>    Affects Versions: 3.2.0
>            Reporter: Mona Chitnis
>            Priority: Minor
>             Fix For: 3.2.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Currently, you can export the env variable OOZIE_DEBUG to a non-zero value to 
> get debug statements on stdout after job submit/run. This patch is making 
> this feature available by alternately specifying '-debug' through the CLI 
> arguments.
> e.g. oozie job -run -config <job.properties> -debug
> Starting right now with getting basic debug output such as the Http 
> connection URL to the server, this can be later extended for printing more 
> debug statements at various stages of the Oozie process.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to