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

Arpit Agarwal edited comment on HDFS-8681 at 6/26/15 11:08 PM:
---------------------------------------------------------------

Hi [~andrew.wang] does this mean the block scanner is not on by default in 
2.7.x. If so it should be a blocker for 2.7.1. 


was (Author: arpitagarwal):
If this means that the block scanner is not running by default in 2.7.x then it 
should be a blocker for 2.7.1. Changing Target Version/Priority.

> BlockScanner is incorrectly disabled by default
> -----------------------------------------------
>
>                 Key: HDFS-8681
>                 URL: https://issues.apache.org/jira/browse/HDFS-8681
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.7.0
>            Reporter: Andrew Wang
>            Assignee: Colin Patrick McCabe
>            Priority: Critical
>
> This code is used to check whether the block scanner is enabled:
> {noformat}
>   public boolean isEnabled() {
>     return (conf.scanPeriodMs) > 0 && (conf.targetBytesPerSec > 0);
>   }
> {noformat}
> Unfortunately, when this was introduced, we did not change the default scan 
> period's value of 0, which means by default the BlockScanner is disabled.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to