Starting HDFS via Ambari overrides certain parameters in hive-site.xml. To reinstate the lost Ranger parameters so that the Hive plug-in can function, do the following:
Make sure the repository is set to Enabled .
Set the jdbc.url to jdcb:hive2//localhost:10000/default;auth=noSasl