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

Xuefu Zhang reopened HIVE-6175:
-------------------------------


Actually this is still happening. Just that the error msg shows only once.
{code}
0: jdbc:hive2://> set env:TERM=abc;
14/01/10 10:21:31 INFO operation.Operation: Putting temp output to file 
/tmp/xzhang/128c79ff-1fc3-42d0-bff9-e5423920a8275702730108678559605.pipeout
env:* variables can not be set.
0: jdbc:hive2://> set env:TERM=abc;
0: jdbc:hive2://> set env:TERM=abc;
0: jdbc:hive2://> set env:TERM=abc;
0: jdbc:hive2://> 
{code}

> At Beeline changine an env variable value doesn't result in an error message
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-6175
>                 URL: https://issues.apache.org/jira/browse/HIVE-6175
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 0.10.0, 0.11.0, 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>
> By design, the value of an environment variable cannot be changed by Hive. 
> Hive CLI gives an error message if attempt is made:
> {code}
> hive> set env:TERM=abc;
> env:* variables can not be set.
> {code}
> However, Beeline displays nothing:
> {code}
> 0: jdbc:hive2://> set env:TERM=abc;
> 0: jdbc:hive2://> 
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to