hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thejas M Nair (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11190) ConfVars.METASTORE_FILTER_HOOK in authorization V2 should not be hard code when the value is not default
Date Tue, 07 Jul 2015 17:51:05 GMT

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

Thejas M Nair commented on HIVE-11190:
--------------------------------------

A nit -
       conf.get(ConfVars.METASTORE_FILTER_HOOK.name(), ConfVars.METASTORE_FILTER_HOOK.getDefaultValue())
can be replaced with equivalent, and more readable form supported by HiveConf -
conf.getVar(ConfVars.METASTORE_FILTER_HOOK)

> ConfVars.METASTORE_FILTER_HOOK in authorization V2 should not be hard code when the value
is not default
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11190
>                 URL: https://issues.apache.org/jira/browse/HIVE-11190
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Dapeng Sun
>            Assignee: Dapeng Sun
>         Attachments: HIVE-11190.001.patch
>
>
> ConfVars.METASTORE_FILTER_HOOK in authorization V2 should not be hard code when the value
is not default.
> it will cause user failed to customize the METASTORE_FILTER_HOOK



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

Mime
View raw message