<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Trying to create two node labels &amp;quot;x&amp;quot; as exclusive, and &amp;quot;y&amp;quot; as shareable in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Trying-to-create-two-node-labels-quot-x-quot-as-exclusive/m-p/154244#M116700</link>
    <description>&lt;P style="margin-left: 40px;"&gt; &lt;A rel="user" href="https://community.cloudera.com/users/12099/gaurabdawn.html" nodeid="12099"&gt;@Gaurab D&lt;/A&gt; what version of HDP are you on? &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;What is the error you get when you issue the command?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;have you done sudo su yarn?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;have you creatd label directory in hdfs?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;have you set yarn.node.labels.enabled = true?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;have you set yarn.node-labels.fs-store.root-dir?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;After making changes did you restart resource manager?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;what happens when you run yarn cluster --list-node-labels?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Have you followed directions list &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_yarn_resource_mgt/content/configuring_node_labels.html"&gt;here&lt;/A&gt;?&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jul 2016 02:55:00 GMT</pubDate>
    <dc:creator>sunile_manjee</dc:creator>
    <dc:date>2016-07-29T02:55:00Z</dc:date>
    <item>
      <title>Trying to create two node labels "x" as exclusive, and "y" as shareable</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trying-to-create-two-node-labels-quot-x-quot-as-exclusive/m-p/154243#M116699</link>
      <description>&lt;P&gt;I was trying to create two node labels "x" as exclusive, and "y" as shareable (non-exclusive). But this command ain't working.&lt;/P&gt;&lt;P&gt;Kindly suggest.&lt;/P&gt;&lt;PRE&gt;yarn rmadmin -addToClusterNodeLabels "x(exclusive=true),y(exclusive=false)"&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:32:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trying-to-create-two-node-labels-quot-x-quot-as-exclusive/m-p/154243#M116699</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2022-09-16T10:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create two node labels "x" as exclusive, and "y" as shareable</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trying-to-create-two-node-labels-quot-x-quot-as-exclusive/m-p/154244#M116700</link>
      <description>&lt;P style="margin-left: 40px;"&gt; &lt;A rel="user" href="https://community.cloudera.com/users/12099/gaurabdawn.html" nodeid="12099"&gt;@Gaurab D&lt;/A&gt; what version of HDP are you on? &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;What is the error you get when you issue the command?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;have you done sudo su yarn?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;have you creatd label directory in hdfs?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;have you set yarn.node.labels.enabled = true?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;have you set yarn.node-labels.fs-store.root-dir?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;After making changes did you restart resource manager?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;what happens when you run yarn cluster --list-node-labels?&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Have you followed directions list &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_yarn_resource_mgt/content/configuring_node_labels.html"&gt;here&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 02:55:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trying-to-create-two-node-labels-quot-x-quot-as-exclusive/m-p/154244#M116700</guid>
      <dc:creator>sunile_manjee</dc:creator>
      <dc:date>2016-07-29T02:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create two node labels "x" as exclusive, and "y" as shareable</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trying-to-create-two-node-labels-quot-x-quot-as-exclusive/m-p/154245#M116701</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12099/gaurabdawn.html" nodeid="12099"&gt;@Gaurab D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As Sunile mentions, there are a couple of steps to the process.  You need to provide more detail about what steps you have completed.&lt;/P&gt;&lt;P&gt;For the specific command you are using, Make sure you use:&lt;/P&gt;&lt;PRE&gt;sudo -u yarn yarn rmadmin -addToClusterNodeLabels "x(exclusive=true),y(exclusive=false)"
&lt;/PRE&gt;&lt;P&gt;Here is the documentation:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_yarn_resource_mgt/content/configuring_node_labels.html"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.0/bk_yarn_resource_mgt/content/configuring_node_labels.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 03:19:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trying-to-create-two-node-labels-quot-x-quot-as-exclusive/m-p/154245#M116701</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2016-07-29T03:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to create two node labels "x" as exclusive, and "y" as shareable</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Trying-to-create-two-node-labels-quot-x-quot-as-exclusive/m-p/154246#M116702</link>
      <description>&lt;P&gt;Thanks, It was really helpful&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 17:09:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Trying-to-create-two-node-labels-quot-x-quot-as-exclusive/m-p/154246#M116702</guid>
      <dc:creator>gaurab_dawn</dc:creator>
      <dc:date>2016-09-13T17:09:47Z</dc:date>
    </item>
  </channel>
</rss>

