sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-784) Sentry HDFS sync events should be case agnostic w.r.t to DB/Table names
Date Mon, 29 Jun 2015 17:18:04 GMT
Arun Suresh created SENTRY-784:
----------------------------------

             Summary: Sentry HDFS sync events should be case agnostic w.r.t to DB/Table names
                 Key: SENTRY-784
                 URL: https://issues.apache.org/jira/browse/SENTRY-784
             Project: Sentry
          Issue Type: Bug
          Components: Hdfs Plugin
    Affects Versions: 1.4.0
            Reporter: Arun Suresh
            Assignee: Arun Suresh


Problem Manifestation :
# Assume Db with name "test_db"
# Assume Sentry role "test_role" is given grant ALL on db test_db.
# Create two external directories : /external/dir/temp_table1 & /external/dir/temp_table2
in HDFS.
# login using beeline
# use TEST_DB; (note the CAPS)
# create a new table (say temp_table1) with location : /external/dir/temp_table1
# log out of beeline
# check hdfs acls/perms for the /external/dir/temp_table1 dir
# login using beeline
# use test_db; (NOTE: make sure this is lower-caps)
# create a new table (say temp_table2) with location : /external/dir/temp_table2
# log out
# check hdfs acls/perms for the /external/dir/temp_table2 dir

Notice the ACLs/permissions returned at the end of step 8 and 13 are different..



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message