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

Yang Yun commented on HDFS-15377:
---------------------------------

Thanks [~elgoiri] for the review.

I'm sorry for the mistake. updated to HDFS-15377.002.patch.

I fixed one checkstyles issue, I think the other one  private issue can be 
ignore for variable 'scanPartSize' is a member of class Conf.

> BlockScanner scans one part per round, expect full scans after several rounds
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-15377
>                 URL: https://issues.apache.org/jira/browse/HDFS-15377
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Yang Yun
>            Assignee: Yang Yun
>            Priority: Minor
>         Attachments: HDFS-15377.002.patch
>
>
> For reducing disk IO, one block is separated to multiple parts, BlockScanner 
> scans only one part per round. Expect that after several rounds, the full 
> block should be scanned
> Add a new option "dfs.block.scanner.part.size". the maximum data size per 
> scan by the block scanner. this value should be the multiple of chunk size, 
> for example, 512, 1024, 4096 ...
>  Default value is -1, will disable partial scan.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to