Details
-
Improvement
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
3.4.0
-
Reviewed
Description
In TestRedudantBlocks#setup(), The below comment is incorrect.
// disable block recovery
conf.setInt(DFSConfigKeys.DFS_NAMENODE_REDUNDANCY_INTERVAL_SECONDS_KEY, 1);
conf.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, 1);
We should delete this comment.
The correct usage is in TestAddOverReplicatedStripedBlocks#setup()
// disable block recovery
conf.setInt(DFSConfigKeys.DFS_NAMENODE_REPLICATION_MAX_STREAMS_KEY, 0);
conf.setInt(DFSConfigKeys.DFS_NAMENODE_REDUNDANCY_INTERVAL_SECONDS_KEY, 1);
conf.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, 1);
Attachments
Issue Links
- links to