Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

How to disable Hive CLI

avatar
Explorer
i want to disable Hive CLI in CDH 5.8. i added below lines in /etc/hive/conf.cloudera.hive/hive-env.sh if [ "$SERVICE" = "cli" ]; then echo "Hive CLI has been disabled" exit 1 fi But it didn't work. After adding above to the env file, then restarted the hive. When i type hive in the CLI, it's giving me 'hive` shell
Who agreed with this topic