Showing posts with label Hive Kerberos. Show all posts
Showing posts with label Hive Kerberos. Show all posts

Sunday, February 16, 2014

Hive ,HiveServer2 and thrift service Issues

Hive General Issues:
------------------------
1) How to disable hive shell for all users (Hive CLI)?
we can remove the permission from /usr/hdp/current/hive-client/bin/hive but 
we may run into issues with production daily jobs from either Oozie or any another 
third party tools.Try this while adding in hive-env template via ambari to disable hive-shell

if [ "$SERVICE" = "cli" ]; then
echo "Sorry! I have disabled hive-shell"
exit 1 
fi

then re-start hiveservice
---------------------------------------------