Details
Description
When ResourceManager HA is enabled and the first RM is unavailable, on executing "bin/yarn logs -applicationId <appID> -am 1", we get ConnectionException for connecting to the first RM, the ConnectionException Occurs for 30 times before it tries to connect to the second RM.
This can be optimized by trying to fetch the logs from the Active RM.