[ https://issues.apache.org/jira/browse/HIVE-10290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14497107#comment-14497107 ]
Hari Sankar Sivarama Subramaniyan commented on HIVE-10290: ---------------------------------------------------------- [~thejas] Is it possible to get this in ? Thanks Hari > 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)