Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

[SENTRY-7] Error message in HiveAuthzBinding when unmask is set to 077 is confusing #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public static AuthorizationProvider getAuthProvider(HiveConf hiveConf, HiveAuthz
}
String defaultUmask = hiveConf.get(CommonConfigurationKeys.FS_PERMISSIONS_UMASK_KEY);
if("077".equalsIgnoreCase(defaultUmask)) {
LOG.error("HiveServer2 required a default umask of 077");
LOG.error("077 mask doesn't work with Sentry");
return new NoAuthorizationProvider();
}
// get the provider class and resources from the authz config
Expand Down