I recently updated my Hive from v1.2 to v2.1.
Now every time I login it directly connects to the default hive metastore (metastore_db), instead of my thrift metastore port(https://localhost:9083)
Previously, every time I logged in, it showed something like this
Logging initialized using configuration in jar:file:/opt/mapr/hive/hive-1.2/lib/hive-common-1.2.0-mapr-1609.jar!/hive-log4j.properties
Now it shows something like this
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. spark, tez) or using Hive 1.X releases.
How to fix this issue?