HDFS-7430 backport addendum. Add missing change. (cmccabe)

This commit is contained in:
Colin Patrick Mccabe 2015-02-13 15:11:14 -08:00
parent a8c6a96f3b
commit a54b4a7fc6
1 changed files with 1 additions and 0 deletions

View File

@ -382,6 +382,7 @@ public class DataNode extends ReconfigurableBase
final List<StorageLocation> dataDirs,
final SecureResources resources) throws IOException {
super(conf);
this.blockScanner = new BlockScanner(this, conf);
this.lastDiskErrorCheck = 0;
this.maxNumberOfBlocksToLog = conf.getLong(DFS_MAX_NUM_BLOCKS_TO_LOG_KEY,
DFS_MAX_NUM_BLOCKS_TO_LOG_DEFAULT);