Description
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:
$ 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>