[ 
https://issues.apache.org/jira/browse/HDFS-14050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680425#comment-16680425
 ] 

Xiao Chen commented on HDFS-14050:
----------------------------------

Thanks [~hgadre] for the patch here.
+1 pending:
- In NamenodeFsck there's 1 miss:
{code}
          LOG.error("Fsck: could not copy block " + lblock.getBlock() +
              " to " + target, e);
{code}
- I think the LOG.info can move from TestFsck to DFSTestUtil
- The comments in TestFsck about the {{FSPermissionChecker.LOG}} also seems 
redundant. Appreciate the explanation for code review, but doesn't feel like 
we'd need it to be a code comment. :)

> Use parameterized logging construct in NamenodeFsck class
> ---------------------------------------------------------
>
>                 Key: HDFS-14050
>                 URL: https://issues.apache.org/jira/browse/HDFS-14050
>             Project: Hadoop HDFS
>          Issue Type: Task
>    Affects Versions: 3.0.0
>            Reporter: Hrishikesh Gadre
>            Assignee: Hrishikesh Gadre
>            Priority: Trivial
>         Attachments: HDFS-14050-001.patch, HDFS-14050-002.patch, 
> HDFS-14050-003.patch
>
>
> HDFS-13695 implemented a change to use slf4j logger (instead of commons 
> logging). But the NamenodeFsck class is still not using parameterized logging 
> construct. This came up during the code review for HADOOP-11391. We should 
> change logging statements in NamenodeFsck to use slf4j style parameterized 
> logging apis.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to