Reply
New Contributor
Posts: 1
Registered: ‎04-17-2018

sentry hdfs-sync and sentry admin user does not have read-excecute permissions

[ Edited ]

iIn the presence of HDFS-SYNC,

It seems that adding my user to sentry admin group allow that user to read hdfs files in the hive warehouse.

But calling FileInputFormat.getSplits() seems to fail with read-execute permission failure.

1. is it true that by adding a user to the sentry admin group  Sentry allows that user to read the file in the warehouse?

2. if true does that user have execute priviliges on the file.

(It seems that getSplits() uses FileSystem.listStatus() and that gets the AccessControlException.)

Highlighted
Champion
Posts: 742
Registered: ‎05-16-2016

Re: sentry hdfs-sync and sentry admin user does not have read-excecute permissions

hive roles does not sync up with the hdfs file permission.

However you can query the table data using hive queries ,but you cant perform cat command on the hdfs using fs shell command on the same underlying table data.

Announcements