HDFS-9761. Rebalancer sleeps too long between iterations. Contributed by Mingliang Liu.
(cherry picked from commit c6497949e866594050153b953a85c0a1db59d2f8) (cherry picked from commit a7232f5e1d20faf210f3718c551cbae4edb5933c)
This commit is contained in:
parent
e01d8393b6
commit
bad8006da1
@ -1721,6 +1721,9 @@ Release 2.8.0 - UNRELEASED
|
||||
HDFS-9601. NNThroughputBenchmark.BlockReportStats should handle
|
||||
NotReplicatedYetException on adding block (iwasakims)
|
||||
|
||||
HDFS-9761. Rebalancer sleeps too long between iterations
|
||||
(Mingliang Liu via cnauroth)
|
||||
|
||||
Release 2.7.3 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -673,14 +673,13 @@ static int run(Collection<URI> namenodes, final BalancerParameters p,
|
||||
// must be an error statue, return.
|
||||
return r.exitStatus.getExitCode();
|
||||
}
|
||||
|
||||
if (!done) {
|
||||
Thread.sleep(sleeptime);
|
||||
}
|
||||
} else {
|
||||
LOG.info("Skipping blockpool " + nnc.getBlockpoolID());
|
||||
}
|
||||
}
|
||||
if (!done) {
|
||||
Thread.sleep(sleeptime);
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
for(NameNodeConnector nnc : connectors) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user