You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Wei Yan (JIRA)" <ji...@apache.org> on 2015/09/02 19:27:47 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=14727677#comment-14727677 ] 

Wei Yan commented on OOZIE-2340:
--------------------------------

Thanks, [~jaydeepvishwakarma]. I put some comments in OOZIE-2244.

> 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)