hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sungryoungkim (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20945) set conf more than 2 is not work although whitelist set in hiveserver2 in Hue or Zeppelin, ...
Date Tue, 20 Nov 2018 10:56:00 GMT

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

sungryoungkim updated HIVE-20945:
---------------------------------
    Fix Version/s: 2.3.2

> set conf more than 2 is not work although whitelist set in hiveserver2 in Hue or Zeppelin,
...
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-20945
>                 URL: https://issues.apache.org/jira/browse/HIVE-20945
>             Project: Hive
>          Issue Type: Bug
>            Reporter: sungryoungkim
>            Priority: Minor
>             Fix For: 2.3.2
>
>
> I use hive 2.3.2 with Hue and Zeppellin.
> and I try below statement.
> {quote}set something1=1;
> set something2=3;
> set something3=4;
> {quote}
> It works well in beeline, but not in Hue and Zeppelin.
> The error message : Cannot modify set something2 at runtime. It is not in list of params
that are allowed to be modified at runtime
> however I already add it in whitelist.
> After I debugging hive code, I guess this code is something strange in org/apache/hive/service/cli/operation/HiveCommandOperation.java
> {quote}Line 111
>  String command = getStatement().trim();
>  String[] tokens = {color:#FF0000}statement.split("\\s");{color}  
>  String commandArgs = command.substring(tokens[0].length()).trim();
> {quote}
>  
> I think it should be like this 
> {quote}String[] tokens = {color:#FF0000}command.split("\\s");{color}  
> {quote}
> I test it, and it works very well.



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

Mime
View raw message