Details
Description
do { chosen = chooseRandomWithStorageTypeAndExcludeRoot(root, excludeRoot, type); if (excludedNodes == null || !excludedNodes.contains(chosen)) { break; } else { LOG.debug("Node {} is excluded, continuing.", chosen); } } while (true);
Observed this loop getting stuck as part of testing HDFS-14913.
There should be some exit condition or max retries here
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-15317 Improve NetworkTopology chooseRandom's loop
- Resolved