Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • resourcemanager
    • None
    • Reviewed

    Description

      This JIRA includes APIs and storage implementations of node label manager,
      NodeLabelManager is an abstract class used to manage labels of nodes in the cluster, it has APIs to query/modify

      • Nodes according to given label
      • Labels according to given hostname
      • Add/remove labels
      • Set labels of nodes in the cluster
      • Persist/recover changes of labels/labels-on-nodes to/from storage

      And it has two implementations to store modifications

      • Memory based storage: It will not persist changes, so all labels will be lost when RM restart
      • FileSystem based storage: It will persist/recover to/from FileSystem (like HDFS), and all labels and labels-on-nodes will be recovered upon RM restart

      Attachments

        1. YARN-2494.patch
          139 kB
          Wangda Tan
        2. YARN-2494.patch
          141 kB
          Wangda Tan
        3. YARN-2494.patch
          103 kB
          Wangda Tan
        4. YARN-2494.patch
          102 kB
          Wangda Tan
        5. YARN-2494.patch
          103 kB
          Wangda Tan
        6. YARN-2494.patch
          97 kB
          Wangda Tan
        7. YARN-2494.patch
          99 kB
          Wangda Tan
        8. YARN-2494.patch
          101 kB
          Wangda Tan
        9. YARN-2494.20141009-2.patch
          103 kB
          Wangda Tan
        10. YARN-2494.20141009-1.patch
          103 kB
          Wangda Tan

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: