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

Javier Abrego commented on SENTRY-7:
------------------------------------

Changed the log message and pull request sent 
https://github.com/apache/incubator-sentry/pull/1

> Error message in HiveAuthzBinding when unmask is set to 077 is confusing
> ------------------------------------------------------------------------
>
>                 Key: SENTRY-7
>                 URL: https://issues.apache.org/jira/browse/SENTRY-7
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Shreepadma Venugopalan
>
> In HiveAuthzBinding.java,
> {noformat}
> String defaultUmask = 
> hiveConf.get(CommonConfigurationKeys.FS_PERMISSIONS_UMASK_KEY);
>     if("077".equalsIgnoreCase(defaultUmask)) {
>       LOG.error("HiveServer2 required a default umask of 077");
>       return new NoAuthorizationProvider();
>     }
> {noformat}
> The error is confusing and should be changed to say 077 mask doesn't work 
> with Sentry or some such thing.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to