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

Vihang Karajgaonkar commented on HIVE-14151:
--------------------------------------------

Hi [~spena] I have tested the change manually it should work fine. There are 
anyways no tests which run cli.sh so I guess you can go ahead and commit it if 
it looks good to you. Thanks!

> Use of USE_DEPRECATED_CLI environment variable does not work
> ------------------------------------------------------------
>
>                 Key: HIVE-14151
>                 URL: https://issues.apache.org/jira/browse/HIVE-14151
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Vihang Karajgaonkar
>            Assignee: Vihang Karajgaonkar
>         Attachments: HIVE-14151.1.patch
>
>
> According to 
> https://cwiki.apache.org/confluence/display/Hive/Replacing+the+Implementation+of+Hive+CLI+Using+Beeline
>  if we set USE_DEPRECATED_CLI=false it should use beeline for hiveCli. But it 
> doesn't seem to work.
> In order to reproduce this issue:
> {noformat}
> $ echo $USE_DEPRECATED_CLI
> $ ./hive
> Hive-on-MR is deprecated in Hive 2 and may not be available in the future 
> versions. Consider using a different execution engine (i.e. tez, spark) or 
> using Hive 1.X releases.
> hive>
> $
> $ export USE_DEPRECATED_CLI=false
> $ echo $USE_DEPRECATED_CLI
> false
> $ ./hive
> Hive-on-MR is deprecated in Hive 2 and may not be available in the future 
> versions. Consider using a different execution engine (i.e. tez, spark) or 
> using Hive 1.X releases.
> hive>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to