Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-7

Error message in HiveAuthzBinding when unmask is set to 077 is confusing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      In HiveAuthzBinding.java,

      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();
          }
      
      

      The error is confusing and should be changed to say 077 mask doesn't work with Sentry or some such thing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              shreepadma Shreepadma Venugopalan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: