HADOOP-10964. Small fix for NetworkTopologyWithNodeGroup#sortByDistance. Contributed by Yi Liu.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1618103 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
be117cbcdf
commit
cfeaf4cd09
|
@ -594,6 +594,9 @@ Release 2.6.0 - UNRELEASED
|
||||||
HADOOP-10843. TestGridmixRecord unit tests failure on PowerPC (Jinghui Wang
|
HADOOP-10843. TestGridmixRecord unit tests failure on PowerPC (Jinghui Wang
|
||||||
via Colin Patrick McCabe)
|
via Colin Patrick McCabe)
|
||||||
|
|
||||||
|
HADOOP-10964. Small fix for NetworkTopologyWithNodeGroup#sortByDistance.
|
||||||
|
(Yi Liu via wang)
|
||||||
|
|
||||||
Release 2.5.0 - UNRELEASED
|
Release 2.5.0 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -293,7 +293,7 @@ public class NetworkTopologyWithNodeGroup extends NetworkTopology {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
super.sortByDistance(reader, nodes, nodes.length, seed,
|
super.sortByDistance(reader, nodes, activeLen, seed,
|
||||||
randomizeBlockLocationsPerBlock);
|
randomizeBlockLocationsPerBlock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue