Support Questions

Find answers, ask questions, and share your expertise
Announcements

CDP 7 placement rules dont work

avatar
Contributor

Hi, trying to set placement rules as described in https://docs.cloudera.com/cdp-private-cloud-base/7.1.6/yarn-allocate-resources/topics/yarn-placement-rule-policies.html, but tasks still in default queue.

Also tried to enable tag-based authorization with the same result.

What could be wrong?

14 REPLIES 14

avatar
Cloudera Employee

You do not have any value for the user name. "This rule mactches: users named <your_user>".
When you fill the rule you should set the name (or group, or application name) of the user that match your placement rule.

avatar
Contributor

Username is set, but deteted due to security reasosns

avatar
Contributor

found in yarn logs records like 

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)

Could it be the core reason? 

How can i fix it?

avatar
Rising Star

Hi @Scout 

Can you share acl for 

/var/lib/ranger/yarn/policy-cache/yarn_cm_yarn_tag.json

avatar
Contributor

ls: cannot access '/var/lib/ranger/yarn/': No such file or directory