[ https://issues.apache.org/jira/browse/HAWQ-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lin Wen reassigned HAWQ-720: ---------------------------- Assignee: Lin Wen (was: Lei Chang) > Simplify libyarn interface when passing RM/RM scheduler to it > ------------------------------------------------------------- > > Key: HAWQ-720 > URL: https://issues.apache.org/jira/browse/HAWQ-720 > Project: Apache HAWQ > Issue Type: Improvement > Components: libyarn > Reporter: Lin Wen > Assignee: Lin Wen > > 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. -- This message was sent by Atlassian JIRA (v6.3.4#6332)