MockNodes.newNodes creates one more node per rack than requested.
ClusterNodeTracker: add method to get list of nodes matching a specific resourceName
Didn't realize this got in. Thanks Varun Saxena for review/commit.
SUCCESS: Integrated in Hadoop-trunk-Commit #10037 (See https://builds.apache.org/job/Hadoop-trunk-Commit/10037/)
YARN-5182. MockNodes.newNodes creates one more node per rack than (varunsaxena: rev abe7fc22c154258a898b497c11de73e93e2ae2b1)
Committed this to trunk / branch-2.
Thanks Karthik for fixing the issue.
Changes LGTM. Test failure will be tracked by YARN-5037.
Will commit it shortly.
This message was automatically generated.
Test test failures are known test failures.
The patch on YARN-5181 tests the correctness of this.