[
https://issues.apache.org/jira/browse/HDFS-15207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17054259#comment-17054259
]
Yang Yun commented on HDFS-15207:
---------------------------------
One warning of checkstyle is for the Variable 'skipRecentAccessed', which is
member of inside class Conf, keeping the same style with other variables. I
think we can ignore it.
{code:java}
./hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockScanner.java:117:
final boolean skipRecentAccessed;:19: Variable 'skipRecentAccessed' must be
private and have accessor methods. [VisibilityModifier]{code}
> VolumeScanner skip to scan blocks accessed during recent scan peroid
> --------------------------------------------------------------------
>
> Key: HDFS-15207
> URL: https://issues.apache.org/jira/browse/HDFS-15207
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: datanode
> Reporter: Yang Yun
> Assignee: Yang Yun
> Priority: Minor
> Attachments: HDFS-15207.001.patch, HDFS-15207.patch, HDFS-15207.patch
>
>
> Check the access time of block file to avoid scanning recently changed
> blocks, reducing disk IO.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]