[
https://issues.apache.org/jira/browse/HDFS-12065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16067538#comment-16067538
]
Mingliang Liu edited comment on HDFS-12065 at 6/29/17 1:03 AM:
---------------------------------------------------------------
https://www.slf4j.org/faq.html#paramException
Per the signature, it should go the {{public void warn(String format, Object
arg1, Object arg2);}} call, which will internally check the last argument is
{{Throwable}} or not.
I'm not sure why it's not working as expected. Is it log4j or java logging
configuration related? Or are you using old version of SLF4J?
was (Author: liuml07):
https://www.slf4j.org/faq.html#paramException
Per the signature, it should go the {{public void warn(String format, Object
arg1, Object arg2);}} call, which will internally check the last argument is
{{Throwable}} or not.
I'm not sure it's not working as expected. Is it log4j or java logging
configuration related? Or are your using old version of SLF4J?
> Fix log format in StripedBlockReconstructor
> -------------------------------------------
>
> Key: HDFS-12065
> URL: https://issues.apache.org/jira/browse/HDFS-12065
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: erasure-coding
> Affects Versions: 3.0.0-alpha3
> Reporter: Lei (Eddy) Xu
> Assignee: Lei (Eddy) Xu
> Priority: Trivial
> Attachments: HDFS-12065.00.patch
>
>
> The {{LOG}} is using wrong signature in {{StripedBlockReconstructor}}, and
> results to the following message without the stack:
> {code}
> Failed to reconstruct striped block:
> BP-1026491657-172.31.114.203-1498498077419:blk_-9223372036854759232_5065
> java.lang.NullPointerException
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]