<?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 CDP 7 placement rules dont work in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/362343#M238764</link>
    <description>&lt;P data-unlink="true"&gt;Hi, trying to set placement rules as described in&amp;nbsp;https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/yarn-allocate-resources/topics/yarn-placement-rule-policies.html,&amp;nbsp;but tasks still in default queue.&lt;/P&gt;&lt;P data-unlink="true"&gt;Also tried to enable tag-based authorization with the same result.&lt;/P&gt;&lt;P data-unlink="true"&gt;What could be wrong?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 17:01:47 GMT</pubDate>
    <dc:creator>Scout</dc:creator>
    <dc:date>2023-01-26T17:01:47Z</dc:date>
    <item>
      <title>CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/362343#M238764</link>
      <description>&lt;P data-unlink="true"&gt;Hi, trying to set placement rules as described in&amp;nbsp;https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/yarn-allocate-resources/topics/yarn-placement-rule-policies.html,&amp;nbsp;but tasks still in default queue.&lt;/P&gt;&lt;P data-unlink="true"&gt;Also tried to enable tag-based authorization with the same result.&lt;/P&gt;&lt;P data-unlink="true"&gt;What could be wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 17:01:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/362343#M238764</guid>
      <dc:creator>Scout</dc:creator>
      <dc:date>2023-01-26T17:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/364612#M239203</link>
      <description>&lt;P&gt;Please share a screenshot of your placement rules&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2023 13:32:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/364612#M239203</guid>
      <dc:creator>Asok</dc:creator>
      <dc:date>2023-02-26T13:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/364687#M239213</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98108"&gt;@Scout&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, we need to understand we tried to enable tag-based policy only for Hive jobs because those jobs submitted by proxy user hive. After we enable the tab-bases policy the job submitted with hive user instead of proxy user&lt;/P&gt;&lt;H2&gt;Instructions&lt;/H2&gt;&lt;P&gt;Step 1:&lt;/P&gt;&lt;P&gt;Enable application tag placement and whitelist hive&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In Cloudera Manager, select the YARN service.&lt;/LI&gt;&lt;LI&gt;Click the Configuration tab.&lt;/LI&gt;&lt;LI&gt;Search for ResourceManager. In the Filters pane, under Scope, select ResourceManager.&lt;/LI&gt;&lt;LI&gt;In ResourceManager Advanced Configuration Snippet (Safety Valve) for yarn-site.xml add the following.&lt;/LI&gt;&lt;LI&gt;Set these two yarn configurations:&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;yarn.resourcemanager.application-tag-based-placement.enable=true;&lt;/LI&gt;&lt;LI&gt;yarn.resourcemanager.application-tag-based-placement.username.whitelist=hive;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step 2:&lt;/P&gt;&lt;P&gt;You need to check, and if not found, add several configuration properties to allow placement of the Hive workload on the Yarn queue manager.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In Cloudera Manager, click&amp;nbsp;Clusters&amp;nbsp;&amp;gt;&amp;nbsp;Hive on Tez&amp;gt;&amp;nbsp;Configuration.&lt;/LI&gt;&lt;LI&gt;Search for the&amp;nbsp;Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml&amp;nbsp;setting.&lt;/LI&gt;&lt;LI&gt;In the&amp;nbsp;Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml&amp;nbsp;setting, click&amp;nbsp;+.&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;In&amp;nbsp;Name&amp;nbsp;enter the property&amp;nbsp;hive.server2.tez.initialize.default.sessions&amp;nbsp;and in value enter&amp;nbsp;false.&lt;/LI&gt;&lt;LI&gt;In&amp;nbsp;Name&amp;nbsp;enter the property&amp;nbsp;hive.server2.tez.queue.access.check&amp;nbsp;and in value enter&amp;nbsp;true.&lt;/LI&gt;&lt;LI&gt;In&amp;nbsp;Name&amp;nbsp;enter the property&amp;nbsp;hive.server2.tez.sessions.custom.queue.allowed&amp;nbsp;and in value enter&amp;nbsp;true.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next you need to add placement rules as below:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Add placement rules &amp;gt;&amp;gt; This rule matches = hive_user &amp;gt;&amp;gt; Custom policy = &amp;lt;yarn.queue.name&amp;gt; (where you want to submit the job.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: Order of policy also played vital role, please order properly to move the job in aligned queue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 09:45:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/364687#M239213</guid>
      <dc:creator>mimran</dc:creator>
      <dc:date>2023-02-27T09:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/365088#M239292</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98108"&gt;@Scout&lt;/a&gt;,&amp;nbsp;Has any of the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 15:05:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/365088#M239292</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2023-03-02T15:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/366888#M239698</link>
      <description>&lt;P&gt;Hello, sorry for a big delay.&lt;/P&gt;&lt;P&gt;That solution didn't worked for me.&lt;/P&gt;&lt;P&gt;I've set all parameters in Yarn and Hive-on-Tez, but test user going to default query anyway.&lt;/P&gt;&lt;P&gt;Maybe I can check logs or something for that placement rules?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="placeRule.png" style="width: 644px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37082iA73699DB4DDD3CBB/image-size/large?v=v2&amp;amp;px=999" role="button" title="placeRule.png" alt="placeRule.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 15:22:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/366888#M239698</guid>
      <dc:creator>Scout</dc:creator>
      <dc:date>2023-03-24T15:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367138#M239805</link>
      <description>&lt;P&gt;Nope.&lt;/P&gt;&lt;P&gt;We can set queue for spark with&amp;nbsp;&lt;SPAN&gt;--queue argument and it would work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the rest requests are ignoring yarn placement rules.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 09:29:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367138#M239805</guid>
      <dc:creator>Scout</dc:creator>
      <dc:date>2023-03-29T09:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367499#M239919</link>
      <description>&lt;P&gt;Please share a specific use case, ie. Pick a sample user job that is expected to go to a specific queue and share its placement rules screenshot&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 15:15:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367499#M239919</guid>
      <dc:creator>Asok</dc:creator>
      <dc:date>2023-04-01T15:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367500#M239920</link>
      <description>&lt;P&gt;Hi, I am not able to open a case but I work like a agent for cloudera , I was running the stock market and I am not able to withdraw my deposit since the system give me high package and I can’t manage to cover the overdraft again.. what can I do?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 15:30:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367500#M239920</guid>
      <dc:creator>Salome23</dc:creator>
      <dc:date>2023-04-01T15:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367502#M239921</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3A97F35E-3164-497D-BA19-AFE217E3A132.jpeg" style="width: 1170px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/37143iA99FECD937FDB8AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="3A97F35E-3164-497D-BA19-AFE217E3A132.jpeg" alt="3A97F35E-3164-497D-BA19-AFE217E3A132.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;  someone who can help me with this, I don’t want to lose my money?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 15:35:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367502#M239921</guid>
      <dc:creator>Salome23</dc:creator>
      <dc:date>2023-04-01T15:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367777#M239978</link>
      <description>&lt;P&gt;Tried to run spark and zeppelin jobs.&lt;/P&gt;&lt;P&gt;application placement rules are:&lt;/P&gt;&lt;P&gt;-submitting user's name = &amp;lt;user&amp;gt;&lt;/P&gt;&lt;P&gt;-place the application into queue named for user / set default queue to / use custom placement rules&lt;/P&gt;&lt;P&gt;- tried to use static and dynamic queues&lt;/P&gt;&lt;P&gt;The results are the same: application runs in default queue&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 11:00:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367777#M239978</guid>
      <dc:creator>Scout</dc:creator>
      <dc:date>2023-04-05T11:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367797#M239985</link>
      <description>&lt;P&gt;You do not have any value for the user name. "This rule mactches: users named &amp;lt;your_user&amp;gt;".&lt;BR /&gt;When you fill the rule you should set the name (or group, or application name) of the user that match your placement rule.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:33:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/367797#M239985</guid>
      <dc:creator>JeremyBertelli</dc:creator>
      <dc:date>2023-04-05T15:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/368005#M240022</link>
      <description>&lt;P&gt;Username is set, but deteted due to security reasosns&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 13:44:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/368005#M240022</guid>
      <dc:creator>Scout</dc:creator>
      <dc:date>2023-04-07T13:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/368182#M240090</link>
      <description>&lt;P&gt;found in yarn logs records like&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;failed to save service-tags to cache file '/var/lib/ranger/yarn/policy-cache/yarn_cm_yarn_tag.json'
java.io.FileNotFoundException: /var/lib/ranger/yarn/policy-cache/yarn_cm_yarn_tag.json (Permission denied)&lt;/PRE&gt;&lt;P&gt;Could it be the core reason?&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i fix it?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 07:59:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/368182#M240090</guid>
      <dc:creator>Scout</dc:creator>
      <dc:date>2023-04-11T07:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/368395#M240166</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/98108"&gt;@Scout&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you share acl for&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/var/lib/ranger/yarn/policy-cache/yarn_cm_yarn_tag.json&lt;/PRE&gt;</description>
      <pubDate>Thu, 13 Apr 2023 07:25:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/368395#M240166</guid>
      <dc:creator>AsimShaikh</dc:creator>
      <dc:date>2023-04-13T07:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: CDP 7 placement rules dont work</title>
      <link>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/368665#M240230</link>
      <description>&lt;P&gt;ls: cannot access '/var/lib/ranger/yarn/': No such file or directory&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 09:31:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/CDP-7-placement-rules-dont-work/m-p/368665#M240230</guid>
      <dc:creator>Scout</dc:creator>
      <dc:date>2023-04-17T09:31:00Z</dc:date>
    </item>
  </channel>
</rss>

