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 2019/01/31 17:44:00 UTC

[jira] [Updated] (OOZIE-3426) [core] V1JobsServlet should log HDFS related error when trying to save workflow definition

     [ https://issues.apache.org/jira/browse/OOZIE-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andras Piros updated OOZIE-3426:
--------------------------------
    Summary: [core] V1JobsServlet should log HDFS related error when trying to save workflow definition  (was: V1JobsServlet logging bug)

> [core] V1JobsServlet should log HDFS related error when trying to save workflow definition
> ------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-3426
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3426
>             Project: Oozie
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 5.1.0
>            Reporter: Andras Salamon
>            Assignee: Andras Salamon
>            Priority: Minor
>             Fix For: 5.2.0
>
>         Attachments: OOZIE-3426-01.patch
>
>
> If {{V1JobsServlet}} DEBUG level logging is turned on and {{tryCreateOnDFS}} catches an exception and tried to log the details, only the following is printed to the log:
> {noformat}
> Could not write XML [%s] to HDFS. Error message: %s
> {noformat}
> Instead of {{%s}} we should use {{\{0\}}} and {{\{1\}}} to get a meaningful error message. Or we should use {{String.format}}



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