Hi Ramesh,

Thanks for your reply i could see ranger.add-yarn-authorization in my xml.
After adding this it works.
Thanks Ramesh



Thanks & Regards
Amithsha

On Wed, Jan 24, 2018 at 7:17 AM, Ramesh Mani <rm...@hortonworks.com> wrote:

> Amithsha,
>
> 1)
> Check the following param in ranger-yarn-security.xml, it should be true.
> Also check in yarn-site.xml “yarn.acl.enable: is enabled.
>
>     <property>
>       <name>ranger.add-yarn-authorization</name>
>       <value>true</value>
>     </property>
>
>
> 2)  Audit is async operation and doesn’t block any authorization. If
> Ranger is not able make decision Yarn plugin will fall back to YARN ACL.
>
> Check in Resource Manager do you see any exception when you do YARN job
> for that user. That will help to debug.
>
> Thanks,
> Ramesh
>
>
> From: Amith sha <amithsh...@gmail.com>
> Reply-To: "user@ranger.apache.org" <user@ranger.apache.org>
> Date: Tuesday, January 23, 2018 at 4:25 AM
> To: "user@ranger.apache.org" <user@ranger.apache.org>
> Subject: Ranger Yarn Plugin
>
> Hi All,
>
> I enabled the ranger plugin 1.0.0 and also created policies on ranger UI.
> i can see my plugin on ranger UI as well as the policy stats.
>
> Now the issue is
> my new user not able to access the queue
>
> 1.Why it is not working and i am not abe to get any logs of it ?
> 2. if the audit is not happening (ie) solr is down then ranger policies
> wont work ?
>
>
>
> Thanks & Regards
> Amithsha
>

Reply via email to