You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Piros (JIRA)" <ji...@apache.org> on 2018/12/03 11:16:00 UTC
[jira] [Updated] (OOZIE-3390) [Shell action] STDERR contains a
bogus error message
[ https://issues.apache.org/jira/browse/OOZIE-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andras Piros updated OOZIE-3390:
--------------------------------
Summary: [Shell action] STDERR contains a bogus error message (was: shell action's stderr contains a bogus error message (since 5.0.0))
> [Shell action] STDERR contains a bogus error message
> ----------------------------------------------------
>
> 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
> Assignee: Julia Kinga Marton
> Priority: Blocker
> Fix For: 5.1.0
>
> Attachments: OOZIE-3390-001.patch, OOZIE-3390-002.patch, OOZIE-3390.003.patch, OOZIE-3390.004.patch
>
>
> 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)