HDFS-8749. Fix findbugs warnings in BlockManager.java. Contributed by Brahma Reddy Battula.
This commit is contained in:
parent
5214876792
commit
d66302ed9b
@ -1026,6 +1026,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HDFS-8729. Fix TestFileTruncate#testTruncateWithDataNodesRestartImmediately
|
||||
which occasionally failed. (Walter Su via jing9)
|
||||
|
||||
HDFS-8749. Fix findbugs warnings in BlockManager.java.
|
||||
(Brahma Reddy Battula via aajisaka)
|
||||
|
||||
Release 2.7.2 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -3596,8 +3596,6 @@ public boolean checkBlocksProperlyReplicated(
|
||||
String src, BlockInfo[] blocks) {
|
||||
for (BlockInfo b: blocks) {
|
||||
if (!b.isComplete()) {
|
||||
final BlockInfoUnderConstruction uc =
|
||||
(BlockInfoUnderConstruction)b;
|
||||
final int numNodes = b.numNodes();
|
||||
final int min = getMinStorageNum(b);
|
||||
final BlockUCState state = b.getBlockUCState();
|
||||
|
Loading…
Reference in New Issue
Block a user