You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Vitalii Diravka (JIRA)" <ji...@apache.org> on 2018/10/11 14:50:00 UTC

[jira] [Resolved] (DRILL-3363) Give user exception when users are trying to set system-wide-variable with "alter session set"

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

Vitalii Diravka resolved DRILL-3363.
------------------------------------
       Resolution: Won't Fix
         Assignee: Vitalii Diravka
    Fix Version/s:     (was: Future)
                   1.12.0

The reason of DRILL-3259 is other. I have described it there in comment.
The exception is thrown for the case of setting SYSTEM-wide option on the SESSION level. It was resolved in the DRILL-5723:
{code}
0: jdbc:drill:zk=local> alter session set `exec.queue.memory_reserve_ratio`=0.5;
Error: PERMISSION ERROR: Cannot change option exec.queue.memory_reserve_ratio in scope SESSION

[Error Id: 7ce8015f-7db0-4486-967c-23f6623b343b on vitalii-pc:31010] (state=,code=0)
{code}

> Give user exception when users are trying to set system-wide-variable with "alter session set"
> ----------------------------------------------------------------------------------------------
>
>                 Key: DRILL-3363
>                 URL: https://issues.apache.org/jira/browse/DRILL-3363
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Sean Hsuan-Yi Chu
>            Assignee: Vitalii Diravka
>            Priority: Major
>             Fix For: 1.12.0
>
>
> When user tries to set a system-wide variable by alter session, a warning/error message should pop up. 
> Otherwise, issues such as DRILL-3214 will ensue. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)