YARN-10081. Exception message from ClientRMProxy#getRMAddress is misleading. Contributed by Ravuri Sushma Sree
This commit is contained in:
parent
14d0f9a775
commit
57aad0f43a
|
@ -104,7 +104,7 @@ public class ClientRMProxy<T> extends RMProxy<T> {
|
|||
} else {
|
||||
String message = "Unsupported protocol found when creating the proxy " +
|
||||
"connection to ResourceManager: " +
|
||||
((protocol != null) ? protocol.getClass().getName() : "null");
|
||||
((protocol != null) ? protocol.getName() : "null");
|
||||
LOG.error(message);
|
||||
throw new IllegalStateException(message);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue