You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/16 12:38:18 UTC
[jira] [Commented] (NIFI-1063) fix PutHDFS logger message when
error is caught
[ https://issues.apache.org/jira/browse/NIFI-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148484#comment-15148484 ]
ASF GitHub Bot commented on NIFI-1063:
--------------------------------------
GitHub user pvillard31 opened a pull request:
https://github.com/apache/nifi/pull/226
NIFI-1063
NIFI-1063 Logging exception in PutHDFS
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/pvillard31/nifi NIFI-1063
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/226.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #226
----
commit 4ae03bb7ed6b2739351bcda58528d16b497821ff
Author: Pierre Villard <pi...@gmail.com>
Date: 2016-02-16T10:02:10Z
Merge remote-tracking branch 'refs/remotes/apache/master'
commit 77c3f4418a1b49c3ca957147be29fb85a120aa1f
Author: Pierre Villard <pi...@gmail.com>
Date: 2016-02-16T11:34:26Z
NIFI-1063 Fixed exception logging
Fixed logging of an exception in PutHDFS
----
> fix PutHDFS logger message when error is caught
> -----------------------------------------------
>
> Key: NIFI-1063
> URL: https://issues.apache.org/jira/browse/NIFI-1063
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 0.3.0
> Reporter: Tony Kurc
> Priority: Trivial
> Labels: beginner, newbie
>
> I don't believe this is the right "format string" for this message:
> {code}
> getLogger().error("Failed to write to HDFS due to {}", t);
> {code}
> This is what is shown in logs:
> {noformat}
> 2015-10-24 22:56:31,004 ERROR [Timer-Driven Process Thread-2] o.apache.nifi.processors.hadoop.PutHDFS [PutHDFS[id=3c30a474-86b4-45fc-b771-95d7a1b5054d]] Failed to write to HDFS due to {}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)