Database Reference
In-Depth Information
Secure connectivity-specific options
If configured correctly, you can pass the appropriate command-line options shown
in the following table, to use these security options while connecting impalad from
impala-shell.
Command options
Description
-k
or
--kerberos
When using this option, the
impala-shell connects to im-
palad using the Kerberos
authentication. Make sure to
have the Kerberos authen-
tication enabled and work-
ing with impalad, otherwise
a connection cannot be es-
tablished and errors will be
displayed.
-s Kerberos_service_name
or
-kerber-
os_service_name=Kerberos_service_name
This option instructs impala-
shell to connect to impalad
using a particular impalad
service principal, as passed
in the option. If
Kerber-
os_service_name
is not
specific, Impala is used by
default with Kerberos.