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

Add an optional arg to yarn cluster -list-node-labels to list nodes collection partitioned by labels

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Since we have "yarn cluster -lnl" to print all nodelabels info .But it's not enough,we should be abale to list nodes collection partitioned by labels,especially in large cluster.

      So  I propose to add an optional argument  "-nodes" for  "yarn cluster -lnl" to achieve this.

      e.g.

      [yarn@docker1 ~]$ yarn cluster -lnl -nodes
      Node Labels Num: 3
                    Labels                                               Nodes
      <tensorflow:exclusivity=true>           docker1:45454, docker5:45454
      <spark:exclusivity=true>                   docker2:45454
      <impala:exclusivity=true>                 docker3:45454

      Attachments

        1. YARN-7975_3.patch
          9 kB
          Shen Yinjie
        2. YARN-7975_2.patch
          10 kB
          Shen Yinjie
        3. YARN-7975_1.patch
          10 kB
          Shen Yinjie
        4. YARN-7975.patch
          4 kB
          Shen Yinjie

        Issue Links

          Activity

            People

              shenyinjie Shen Yinjie
              shenyinjie Shen Yinjie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: