Thanks for your answer.
The users tableau2 and tableau3 and the group tableau are internal in ranger.
There is no "tableau" group in Hadoop, I created the group only in ranger.
$ hdfs groups tableau3
tableau3 :
$ hdfs groups tableau2
tableau2 :

I don't fully understand why the group associated with the login should be 
created in Hadoop when ranger is managing the permissions. And what is the role 
of the Ranger group vs Hadoop group ?

Regards,
Philippe

De : Selvamohan Neethiraj [mailto:[email protected]] De la part de 
Selvamohan Neethiraj
Envoyé : Monday, March 02, 2015 5:32 PM
À : [email protected]
Objet : Re: Group permissions in Hive policies

Philippe:

Yes, we have validated permission defined at group level.
When the Hive query is executed by HiveServer2, the groups associated with the 
login user is derived based on the Hadoop Group Mapping defined in the 
coe-site.xml (hadoop.security.group.mapping).
You can use the following commands to find out the group membership for a given 
user:

      $ hdfs groups <username>

Please let us know if your group membership for the user 'tableau3' user shows 
the group 'tableau'.

Thanks,
Selva-

From: Verhaeghe Philippe 
<[email protected]<mailto:[email protected]>>
Reply-To: 
"[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Date: Monday, March 2, 2015 at 11:05 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Group permissions in Hive policies

[cid:[email protected]]
Hi,

I try to use group level permissions for Hive but it seems not working.
I have set permissions at user level for my user "tableau2" : it works as 
expected, I can query Hive.
I have created another user "tableau3", placed it in a new group "tableau", and 
I gave this group the same permissions than the user "tableau2" : I cannot 
query Hive with user "tableau3".

Does anyone has successfully used group level permissions with Hive ?

Regards,
Philippe


________________________________

Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité de Worldline ne pourra être 
recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Worldline liability cannot be triggered for the 
message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.

________________________________

Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité de Worldline ne pourra être 
recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Worldline liability cannot be triggered for the 
message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.

Reply via email to