[
https://issues.apache.org/jira/browse/OOZIE-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16757550#comment-16757550
]
Andras Piros commented on OOZIE-3426:
-------------------------------------
Thanks for the contribution [~asalamon74]! +1
> V1JobsServlet logging bug
> -------------------------
>
> Key: OOZIE-3426
> URL: https://issues.apache.org/jira/browse/OOZIE-3426
> Project: Oozie
> Issue Type: Improvement
> 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)