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:09:52 UTC

[jira] [Created] (SENTRY-7) Error message in HiveAuthzBinding if unmask is 077 is confusing

Shreepadma Venugopalan created SENTRY-7:
-------------------------------------------

             Summary: Error message in HiveAuthzBinding if unmask is 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