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/08/25 03:11:45 UTC

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

Wei Yan created OOZIE-2340:
------------------------------

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