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

Sergey Shelukhin commented on HIVE-14418:
-----------------------------------------

The patch works..
{noformat}
hive> set hive.execution.mode;
hive.execution.mode=llap
hive> set hive.execution.mode=;
hive> set hive.execution.mode;
hive.execution.mode=container
hive> set hive.execution.mode=foo;
Query returned non-zero code: 1, cause: 'SET hive.execution.mode=foo' FAILED in 
validation : Invalid value.. expects one of [container, llap].
{noformat}

Will reattach for HiveQA

> Hive config validation prevents unsetting the settings
> ------------------------------------------------------
>
>                 Key: HIVE-14418
>                 URL: https://issues.apache.org/jira/browse/HIVE-14418
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-14418.patch
>
>
> {noformat}
> hive> set hive.tez.task.scale.memory.reserve.fraction.max=;
> Query returned non-zero code: 1, cause: 'SET 
> hive.tez.task.scale.memory.reserve.fraction.max=' FAILED because 
> hive.tez.task.scale.memory.reserve.fraction.max expects FLOAT type value.
> hive> set hive.tez.task.scale.memory.reserve.fraction.max=null;
> Query returned non-zero code: 1, cause: 'SET 
> hive.tez.task.scale.memory.reserve.fraction.max=null' FAILED because 
> hive.tez.task.scale.memory.reserve.fraction.max expects FLOAT type value.
> {noformat}
> unset also doesn't work.



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

Reply via email to