You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Robert Kanter (JIRA)" <ji...@apache.org> on 2015/08/25 19:23:46 UTC

[jira] [Commented] (OOZIE-2340) Make the sysout configurable in DistcpMain

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

Robert Kanter commented on OOZIE-2340:
--------------------------------------

This is the situation with pretty much all of the actions.  In the past, I think we've been hesitant to add a switch to turn off the output because if a user turns it off, then we lose a lot of really helpful debugging information in the case that there's a problem with the job.

> Make the sysout configurable in DistcpMain
> ------------------------------------------
>
>                 Key: OOZIE-2340
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2340
>             Project: Oozie
>          Issue Type: Improvement
>          Components: action
>            Reporter: Wei Yan
>            Assignee: Wei Yan
>            Priority: Minor
>
> In DistcpMain.java run() function, we print out all input arguments.
> {code}
>         System.out.println("Main class        : " + klass.getName());
>         System.out.println("Arguments         :");
>         for (String arg : args) {
>             System.out.println("                    " + arg);
>         }
> {code}
> In some cases, we don't want the arguments to be printed, like the password. It may be better to provide a config that enable or disable this sysout.



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