Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-720

Simplify libyarn interface when passing RM/RM scheduler to it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • backlog
    • libyarn
    • None

    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.

      Attachments

        Activity

          People

            wlin Wen Lin
            wlin Wen Lin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: