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

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

[~rkanter], thanks for your comments. We have some usecases where we don't want 
to disclose the credential information in the log. So it may be better to leave 
the default value as enabled for debugging usage, and users are allowed to turn 
it off it they care about the security.

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

Reply via email to