You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Peter Vary (Jira)" <ji...@apache.org> on 2020/04/27 15:42:00 UTC

[jira] [Commented] (HIVE-23306) RESET command does not work if there is a config set by System.getProperty

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

Peter Vary commented on HIVE-23306:
-----------------------------------

In HS2 reset should not reset system property based settings. These should not be considered as something changed by the user.

> RESET command does not work if there is a config set by System.getProperty
> --------------------------------------------------------------------------
>
>                 Key: HIVE-23306
>                 URL: https://issues.apache.org/jira/browse/HIVE-23306
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>            Priority: Major
>         Attachments: HIVE-23306.patch
>
>
> If a property set is restricted by {{hive.conf.restricted.list}} and the setting is set by system property, then {{RESET}} command fails with:
> {code}
> Caused by: java.lang.IllegalArgumentException: Cannot modify hive.query.max.length at runtime. It is in the list of parameters that can't be modified at runtime or is prefixed by a restricted variable
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)