Tony Kurc created NIFI-1063:
-------------------------------

             Summary: 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


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)

Reply via email to