sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shreepadma Venugopalan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-7) Error message in HiveAuthzBinding when unmask is set to 077 is confusing
Date Wed, 04 Sep 2013 21:11:52 GMT

     [ 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

Mime
View raw message