HDFS-9761. Rebalancer sleeps too long between iterations. Contributed by Mingliang Liu.
This commit is contained in:
parent
a37e423e84
commit
c6497949e8
|
@ -2704,6 +2704,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HDFS-9601. NNThroughputBenchmark.BlockReportStats should handle
|
HDFS-9601. NNThroughputBenchmark.BlockReportStats should handle
|
||||||
NotReplicatedYetException on adding block (iwasakims)
|
NotReplicatedYetException on adding block (iwasakims)
|
||||||
|
|
||||||
|
HDFS-9761. Rebalancer sleeps too long between iterations
|
||||||
|
(Mingliang Liu via cnauroth)
|
||||||
|
|
||||||
Release 2.7.3 - UNRELEASED
|
Release 2.7.3 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -674,14 +674,13 @@ public class Balancer {
|
||||||
// must be an error statue, return.
|
// must be an error statue, return.
|
||||||
return r.exitStatus.getExitCode();
|
return r.exitStatus.getExitCode();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!done) {
|
|
||||||
Thread.sleep(sleeptime);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
LOG.info("Skipping blockpool " + nnc.getBlockpoolID());
|
LOG.info("Skipping blockpool " + nnc.getBlockpoolID());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!done) {
|
||||||
|
Thread.sleep(sleeptime);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
for(NameNodeConnector nnc : connectors) {
|
for(NameNodeConnector nnc : connectors) {
|
||||||
|
|
Loading…
Reference in New Issue