[
https://issues.apache.org/jira/browse/OOZIE-769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245524#comment-13245524
]
[email protected] commented on OOZIE-769:
-----------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4407/#review6654
-----------------------------------------------------------
trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java
<https://reviews.apache.org/r/4407/#comment14367>
This test case checks whether the debug option can be specified on command
line or not. However, it doesn't check if debug is on or off.
Is it possible to design that testcase?
Also, javadoc comment regarding the scope of the test would be helpful.
- Virag
On 2012-04-02 18:08:37, Mona Chitnis wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/4407/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-04-02 18:08:37)
bq.
bq.
bq. Review request for oozie.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. 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.
bq.
bq. e.g. oozie job -run -config <job.properties> -debug
bq.
bq. 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.
bq.
bq.
bq. This addresses bug OOZIE-769.
bq. https://issues.apache.org/jira/browse/OOZIE-769
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. trunk/core/src/test/java/org/apache/oozie/client/TestOozieCLI.java
1308447
bq. trunk/client/src/main/java/org/apache/oozie/cli/OozieCLI.java 1308447
bq.
bq. Diff: https://reviews.apache.org/r/4407/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. Mona
bq.
bq.
> 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