Description
The current libyarnclient constructor is:
LibYarnClient(string &user, string &rmHost, string &rmPort, string &schedHost,
string &schedPort, string &amHost, int32_t amPort,
string &am_tracking_url, int heartbeatInterval);
RM host/RM port, scheduler host/scheduler port can be read from yarn-site.xml
no need to pass them to this constructor.
Also, libyarn can get RM HA information from yarn-site.xml, no need to maintain it in yarn-client.xml
After this improvement, the libyarn interface will be much cleaner.