[
https://issues.apache.org/jira/browse/SENTRY-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203869#comment-16203869
]
Hadoop QA commented on SENTRY-1231:
-----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12891817/SENTRY-1231.3.patch
against master.
{color:green}Overall:{color} +1 all checks pass
{color:green}SUCCESS:{color} all tests passed
Console output:
https://builds.apache.org/job/PreCommit-SENTRY-Build/3335/console
This message is automatically generated.
> Sentry doesn't secure index location uri, when do "CREATE INDEX LOCATION
> ''/uri"
> --------------------------------------------------------------------------------
>
> Key: SENTRY-1231
> URL: https://issues.apache.org/jira/browse/SENTRY-1231
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 1.8.0
> Reporter: Anne Yu
> Assignee: Sergio Peña
> Priority: Blocker
> Fix For: 2.0.0
>
> Attachments: SENTRY-1231.0.patch, SENTRY-1231.1.patch,
> SENTRY-1231.3.patch
>
>
> Sentry doesn't check the uri privilege of command, CREATE INDEX LOCATION
> '/path'. For example,
> {code}
> [root@ay-s3-1 ~]# sudo -u hdfs hdfs dfs -getfacl -R /data/testindex
> # file: /data/testindex
> # owner: hdfs
> # group: hive
> user::rwx
> group::r-x
> other::r-x
> use systest> CREATE INDEX my_hdfs_table_index ON TABLE my_hdfs_table
> (viewtime) AS 'compact' WITH DEFERRED REBUILD LOCATION '/data/testindex';
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)