XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: resourcemanager
    • Labels:
      None

      Description

      Proposing "yarn rmadmin -load -nodelabels <filename>"

      "nodelabels" can be one such option here, and this can be generalized by giving other options later.
      Advantage of this command will be an easier configuration. Assume admin need to load labels to more than 20+ nodes, current command is little difficult. If these config can be preloaded in a file, and then can upload to RM. With existing parsing and update logic, same can be achieved.

      I am showing a simpler proposed config file.

      rm1 $ cat node_label.conf
      add [
      label1,label2,label3,label4,label11,label12,label13,label14,abel21,label22,label23,label24
      ]  
      replace[
      node1:port=label1,label2,label23,label24
      node2:port=label4,abel11,label12,label13,label14,label21
      node3:port=label2,label3,label4,label11,label12,label13,label14
      node4:port=label14,label21,label22,label23,label24
      node5:port=label14,label21,label22,label23,label24
      node6:port=label4,label11,label12,label13,label14,label21,label22,label23,label24
      ]
      

      A restriction on file size can be kept to avoid uploading very huge files.

      Please share your opinion.

        Attachments

          Activity

            People

            • Assignee:
              sunilg Sunil G
              Reporter:
              sunilg Sunil G
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated: