sungryoungkim created HIVE-20945:
------------------------------------

             Summary: 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


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)

Reply via email to