You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2014/05/01 23:54:16 UTC
[jira] [Created] (HIVE-7002) Utilities.createDirsWithPermission
should not check DoAs against HiveConf default
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)