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 {
|
} else {
|
||||||
String message = "Unsupported protocol found when creating the proxy " +
|
String message = "Unsupported protocol found when creating the proxy " +
|
||||||
"connection to ResourceManager: " +
|
"connection to ResourceManager: " +
|
||||||
((protocol != null) ? protocol.getClass().getName() : "null");
|
((protocol != null) ? protocol.getName() : "null");
|
||||||
LOG.error(message);
|
LOG.error(message);
|
||||||
throw new IllegalStateException(message);
|
throw new IllegalStateException(message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue