Vihang Karajgaonkar created HIVE-14151:
------------------------------------------
Summary: 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
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)