I want to disable implala shell as we are unable to secure it completely.
I want however to leave the impalad running.
Here is how we did it… but i want a cleaner way.
Is there a better way to do this??
Connect to a vm with impala running
[root@cdhs9cdhworker4 alternatives]# mv /usr/bin/impala-shell /usr/bin/impala-shell_old
[root@cdhs9cdhworker4 alternatives]# mv /opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/bin/impala-shell /opt/cloudera/parcels/CDH-5.9.0-1.cdh5.9.0.p0.23/bin/impala-shell_old
Reboot vm
impala-shell … no impala shell running
-bash: impala-shell: command not found
Check impalad
beeline
17/03/01 12:15:58 WARN mapreduce.TableMapReduceUtil: The hbase-prefix-tree module jar containing PrefixTreeCodec is not present. Continuing without it.
Beeline version 1.1.0-cdh5.9.0 by Apache Hive
beeline> !connect jdbc:hive2://xxxxxx:21052/default;auth=noSasl
scan complete in 2ms
Connecting to jdbc:hive2://xxxx:21052/default;auth=noSasl
Enter username for jdbc:hive2://xxx:21052/default;auth=noSasl: impala
Enter password for jdbc:hive2://xxxxxx:21052/default;auth=noSasl: ******
Connected to: Impala (version 2.7.0-cdh5.9.0)
Driver: Hive JDBC (version 1.1.0-cdh5.9.0)
Transaction isolation: TRANSACTION_REPEATABLE_READ
0: jdbc:hive2://xxxxxxx:21052/default> show tables;
+-------+--+
| name |
+-------+--+
+-------+--+
No rows selected (0.289 seconds)
0: jdbc:hive2://xxxxx:21052/default>