You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Attila Sasvari (JIRA)" <ji...@apache.org> on 2018/11/22 15:16:00 UTC

[jira] [Created] (OOZIE-3390) shell action's stderr contains a bogus error message (since 5.0.0)

Attila Sasvari created OOZIE-3390:
-------------------------------------

             Summary:  shell action's stderr contains a bogus error message (since 5.0.0)
                 Key: OOZIE-3390
                 URL: https://issues.apache.org/jira/browse/OOZIE-3390
             Project: Oozie
          Issue Type: Bug
    Affects Versions: 5.1.0
            Reporter: Attila Sasvari


Shell action's stderr contains an error message about path.
I executed shell action example to test Oozie 5.1 rc1, the job finished with success, but stderr of the job contained "Path echo doesn't appear to exist".

https://github.com/apache/oozie/blob/27e4bf1688a6a7750b9c8454de5021337696fd61/sharelib/oozie/src/main/java/org/apache/oozie/action/hadoop/ShellContentWriter.java#L91
{code}
                writeLine(errorStream, "Path " + filename + " doesn't appear to exist");
{code}

The problem is that we ignore the PATH of the process.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)