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:56:19 UTC

[jira] [Resolved] (HIVE-7002) Utilities.createDirsWithPermission should not check DoAs against HiveConf default

     [ https://issues.apache.org/jira/browse/HIVE-7002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair resolved HIVE-7002.
---------------------------------

    Resolution: Invalid

Misread the code!! :p
Closing as invalid! 


> 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)