You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Shreepadma Venugopalan (JIRA)" <ji...@apache.org> on 2013/09/04 23:11:52 UTC

[jira] [Updated] (SENTRY-7) Error message in HiveAuthzBinding when unmask is set to 077 is confusing

     [ https://issues.apache.org/jira/browse/SENTRY-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shreepadma Venugopalan updated SENTRY-7:
----------------------------------------

    Summary: Error message in HiveAuthzBinding when unmask is set to 077 is confusing  (was: Error message in HiveAuthzBinding if unmask is 077 is confusing)
    
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira