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

Yang Yun commented on HDFS-15207:
---------------------------------

Thanks [~hexiaoqiao] for the suggestion.

Yes, the access time changes if it is accessed from external process. The block 
file is readable even if it is accessed externally.  and access time not 
changed if only get the attribution.  

Add {{lastScanTime}} for ReplicaInfo may be a more accurate solution, change 
the {{lastScanTime when Datanode read it. }}

 

 

> 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.002.patch, HDFS-15207.003.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]

Reply via email to