Connecting an Impala shell client
You need to provide the commands to your client users for installing and launching the Impala shell to connect to your Unified Analytics. Client users can then query your tables. You learn how to obtain the command for installing the Impala shell on a client and other information to provide to clients.
To access Unified Analytics from the Impala Shell, clients need to connect to HiveServer (HS2), which is available in the same CDP cluster as Impala. The JDBC URL for the HS2 endpoint uses the strict HS2 protocol option to access Unified Analytics from the Impala Shell. Windows clients are not supported.
- Obtain the DWUser role.
- In the Unified Analytics Impala Virtual Warehouse, click options , and select Copy Unified Analytics Impala shell Download command.
again, and select Copy Unified Analytics Impala shell command.
This action copies the command that launches the Impala shell and includes the connection string your client needs to connect to Unified Analytics in your Virtual Warehouse. For example:
impala-shell --protocol='hs2-http' --ssl -i 'coordinator-vw-impala.dw-dwx-rzs556.xcu2-8y8x.dev.cldr.work:443' -u client_max -l
- Provide the commands you copied to your client user.
- Provide the instructions in the next topic Connecting a client to an Impala Virtual Warehouse to your client user.