[
https://issues.apache.org/jira/browse/HDFS-14995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978010#comment-16978010
]
Lisheng Sun commented on HDFS-14995:
------------------------------------
hi [~elgoiri]
this Jira' s purpose is to unify code sytle.
Define BlockManager.LOG inĀ InvalidateBlocks#invalidateWork as follow. Thank you.
{code:java}
synchronized List<Block> invalidateWork(final DatanodeDescriptor dn) {
final long delay = getInvalidationDelay();
if (delay > 0) {
BlockManager.LOG
.debug("Block deletion is delayed during NameNode startup. "
+ "The deletion will start after {} ms.", delay);
return null;
}
...
}{code}
> Refactor InvalidateBlocks#printBlockDeletionTime()
> --------------------------------------------------
>
> Key: HDFS-14995
> URL: https://issues.apache.org/jira/browse/HDFS-14995
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Lisheng Sun
> Assignee: Lisheng Sun
> Priority: Minor
> Attachments: HDFS-14995.001.patch, HDFS-14995.002.patch
>
>
> Refactor {{InvalidateBlocks#printBlockDeletionTime()}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]