Details
Description
YARN-1059 has shown that the hostname:port string used for the address of things like the RM isn't trimmed before its parsed, leading to errors that aren't that obvious.
We should trim it -it's clearly not going to break any existing (valid) configurations