Thejas M Nair created HIVE-7002:
-----------------------------------
Summary: Utilities.createDirsWithPermission should not check DoAs
against HiveConf default
Key: HIVE-7002
URL: https://issues.apache.org/jira/browse/HIVE-7002
Project: Hive
Issue Type: Bug
Affects Versions: 0.13.0
Reporter: Thejas M Nair
Assignee: Thejas M Nair
This function has an boolean condition that checks against the default value of
HIVE_SERVER2_ENABLE_DOAS param.
The logic will break the default value changes in future.
{code}
recursive = SessionState.get().isHiveServerQuery() &&
conf.getBoolean(HiveConf.ConfVars.HIVE_SERVER2_ENABLE_DOAS.varname,
HiveConf.ConfVars.HIVE_SERVER2_ENABLE_DOAS.defaultBoolVal);
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)