Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2492 (Clone of YARN-796) Allow for (admin) labels on nodes and resource-requests
  3. YARN-2800

Remove MemoryNodeLabelsStore and add a way to enable/disable node labels feature

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • client, resourcemanager
    • None
    • Reviewed

    Description

      In the past, we have a MemoryNodeLabelStore, mostly for user to try this feature without configuring where to store node labels on file system. It seems convenient for user to try this, but actually it causes some bad use experience. User may add/remove labels, and edit capacity-scheduler.xml. After RM restart, labels will gone, (we store it in mem). And RM cannot get started if we have some queue uses labels, and the labels don't exist in cluster.

      As what we discussed, we should have an explicitly way to let user specify if he/she wants this feature or not. If node label is disabled, any operations trying to modify/use node labels will throw exception.

      Attachments

        1. YARN-2800-20150122-1.patch
          36 kB
          Wangda Tan
        2. YARN-2800-20141205-1.patch
          34 kB
          Wangda Tan
        3. YARN-2800-20141205-1.patch
          34 kB
          Tsuyoshi Ozawa
        4. YARN-2800-20141203-1.patch
          33 kB
          Wangda Tan
        5. YARN-2800-20141119-1.patch
          33 kB
          Wangda Tan
        6. YARN-2800-20141118-2.patch
          21 kB
          Wangda Tan
        7. YARN-2800-20141118-1.patch
          20 kB
          Wangda Tan
        8. YARN-2800-20141102-2.patch
          7 kB
          Wangda Tan
        9. YARN-2800-20141102-1.patch
          7 kB
          Wangda Tan

        Activity

          People

            leftnoteasy Wangda Tan
            leftnoteasy Wangda Tan
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: