[ https://issues.apache.org/jira/browse/OOZIE-3231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Cseh resolved OOZIE-3231. ------------------------------- Resolution: Duplicate [~off...@chaosmail.at], I'm closing this as a duplicate, please use OOZIE-2702 to track or contribute. Thanks for bringing the issue up again! > Oozie uses System.out.print to output ENV variables in ShellMain.java > --------------------------------------------------------------------- > > Key: OOZIE-3231 > URL: https://issues.apache.org/jira/browse/OOZIE-3231 > Project: Oozie > Issue Type: Bug > Components: action > Affects Versions: trunk, 4.2.0 > Environment: We are using HDP 2.6.4 with Oozie 4.2 > Reporter: Christoph Körner > Priority: Minor > > Oozie per default outputs debug information about the Shell Action such as > command, arguments and environment variables which is then visible in the > Yarn logs. This is indeed a nice feature for debugging. > However, to do so it uses System.out.print which makes it impossible to > configure this behavior. It would be better to use a Logger class for this, > such that this behavior can be tuned in the Oozie job/action configuration. > In Oozie 4.2. the problematic function is located here > [https://github.com/apache/oozie/blob/branch-4.2/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/ShellMain.java#L244] > - however the problem still exists on the master branch as well. -- This message was sent by Atlassian JIRA (v7.6.3#76005)