Support Questions
Find answers, ask questions, and share your expertise

Who agreed with this topic

How to disable Hive CLI

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