You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "jingyingHu (JIRA)" <ji...@apache.org> on 2015/06/11 12:19:00 UTC

[jira] [Commented] (SENTRY-770) When use sentry to configuration hive,to ensure safety of data access.The functions(row_number and unbase64) can't be used.The Problem caused by a sentry bug. I have already found a way to solve the problem,except to modify the sentry source code.

    [ https://issues.apache.org/jira/browse/SENTRY-770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581783#comment-14581783 ] 

jingyingHu commented on SENTRY-770:
-----------------------------------

The problem cause by the source code in path 'apache-sentry-1.5.0-incubating-src\sentry-binding\sentry-binding-hive\src\main\java\org\apache\sentry\binding\hive\conf\HiveAuthzConf.java',that the variable named 'private static final String HIVE_UDF_WHITE_LIST‘,the value of the variable include the functions that hive can used after integration sentry.The bug is in the:"current_database, char, varchar, matchpath, row_number" +
"unbase64,windowingtablefunction";  
You can found,that between the function row_number and unbase64 lack a comma( ',').This is the primary cause.

> When use sentry to configuration hive,to ensure safety of data access.The functions(row_number and unbase64) can't be used.The Problem caused by a sentry bug. I have already found a way to solve the problem,except to modify the sentry source code.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-770
>                 URL: https://issues.apache.org/jira/browse/SENTRY-770
>             Project: Sentry
>          Issue Type: Bug
>          Components: Hive Plugin
>    Affects Versions: 1.4.0
>            Reporter: jingyingHu
>              Labels: documentation
>             Fix For: 1.4.0
>
>




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