Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3025

Provide API for retrieving blacklisted nodes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Later
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      We have the following method which updates blacklist:

        public synchronized void updateBlacklist(List<String> blacklistAdditions,
            List<String> blacklistRemovals) {
      

      Upon AM failover, there should be an API which returns the blacklisted nodes so that the new AM can make consistent decisions.
      The new API can be:

        public synchronized List<String> getBlacklistedNodes()
      

        Attachments

        1. yarn-3025-v1.txt
          3 kB
          Ted Yu
        2. yarn-3025-v2.txt
          5 kB
          Ted Yu
        3. yarn-3025-v3.txt
          9 kB
          Ted Yu

          Issue Links

            Activity

              People

              • Assignee:
                yuzhihong@gmail.com Ted Yu
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: