HDFS-7430 backport addendum. Add missing change. (cmccabe)
This commit is contained in:
parent
a8c6a96f3b
commit
a54b4a7fc6
|
@ -382,6 +382,7 @@ public class DataNode extends ReconfigurableBase
|
||||||
final List<StorageLocation> dataDirs,
|
final List<StorageLocation> dataDirs,
|
||||||
final SecureResources resources) throws IOException {
|
final SecureResources resources) throws IOException {
|
||||||
super(conf);
|
super(conf);
|
||||||
|
this.blockScanner = new BlockScanner(this, conf);
|
||||||
this.lastDiskErrorCheck = 0;
|
this.lastDiskErrorCheck = 0;
|
||||||
this.maxNumberOfBlocksToLog = conf.getLong(DFS_MAX_NUM_BLOCKS_TO_LOG_KEY,
|
this.maxNumberOfBlocksToLog = conf.getLong(DFS_MAX_NUM_BLOCKS_TO_LOG_KEY,
|
||||||
DFS_MAX_NUM_BLOCKS_TO_LOG_DEFAULT);
|
DFS_MAX_NUM_BLOCKS_TO_LOG_DEFAULT);
|
||||||
|
|
Loading…
Reference in New Issue