Created on 12-12-2014 04:03 AM - edited 09-16-2022 02:15 AM
Hi,
I tried to launch a script bash (from shell or from a shell action of oozie) with the impala-shell command.
This is the body of my script:
impala-shell -k -s impala/_HOST@CLOUDERA_REALM -q 'show tables;'
but i cannot specify the path of a valid keytab. How can I do this ?
I checked the documentation and it is possible to configure these two parameters:
-principal=impala_1/impala_host.example.com@TEST.EXAMPLE.COM -keytab_file=/var/run/cloudera-scm-agent/process/3212-impala-IMPALAD/impala.keytab
but how can I specify dynamically the keytab_file ? is it possible to use the HADOOP_TOKEN_FILE_LOCATION variable used also for Hive-shell o mapred job ?
Thanks
Created 12-12-2014 12:57 PM
What are you trying to achieve?Can you be little elaborate on it?
The keytab file need not be given path for because is it internally taken care of.
Created 12-16-2014 01:17 PM
Hi Alessio,
I was able to use -ldap and connect to my Kerberized Impala cluster:
impala-shell -i SERVERNAME.DOMAIN.COM:21000 -ldap
You may not have LDAP integration setup or Impala configured for LDAP integration.
I hope this helps.