Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Duplicate
-
trunk, 4.2.0
-
None
-
None
-
We are using HDP 2.6.4 with Oozie 4.2
Description
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.
Attachments
Issue Links
- duplicates
-
OOZIE-2702 Remove System.out.println() calls and replace them with Loggers in the sharelibs
- Open