You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2015/04/10 20:49:12 UTC

[jira] [Commented] (HIVE-10290) Add negative test case to modify a non-existent config value when hive security authorization is enabled.

    [ https://issues.apache.org/jira/browse/HIVE-10290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14490106#comment-14490106 ] 

Thejas M Nair commented on HIVE-10290:
--------------------------------------

+1

> Add negative test case to modify a non-existent config value when hive security authorization is enabled.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-10290
>                 URL: https://issues.apache.org/jira/browse/HIVE-10290
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-10290.1.patch
>
>
> We need to have a test case to cover the following scenario when hive security authorization is enabled:
> {code}
> set hive.exec.reduce.max=1;
> Query returned non-zero code: 1, cause: hive configuration hive.exec.reduce.max does not exists.
> {code}
> This is important for ease-of-use and we need to prevent  future code change/regression which might convert the above test case to throw a permission denied error. 
> i.e, the below output is not desirable :
> {code}
> set hive.exec.reduce.max=1;
> Error: Error while processing statement: Cannot modify hive.exec.reduce.max at runtime. It is not in list of params that are allowed to be modified at runtime (state=42000,code=1)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)