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]>
Reply-To: "[email protected]"
<[email protected]>
Date: Monday, March 2, 2015 at 11:05 AM
To: "[email protected]" <[email protected]>
Subject: Group permissions in Hive policies
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.