Details
Description
RackResolver as a public rack resolver tool only offers a method public static Node resolve(String hostName) which only accepts one host a time. Actually the internal implementation class DNSToSwitchMapping always accept a host list as its input and return a list of resolved racks. That's cause the invoker like Spark takes a long time to resolve the rack info when handling abundant tasks (a mass of loops to execute script to resolve rack info).
Attachments
Attachments
Issue Links
- relates to
-
YARN-9394 Use new API of RackResolver to get better performance
- Resolved