Using SASL User Name

This authentication mechanism requires a user name but does not require a password. The user name labels the session, facilitating database tracking.

To configure SASL User Name authentication:

  1. Set the AuthMech connection attribute to SASL User Name.
  2. Set the UID attribute to an appropriate user name for accessing the Impala server.
  3. Optionally, set the TSaslTransportBufSize attribute to the number of bytes to reserve in memory for buffering unencrypted data from the network.
  4. Note:

    In most circumstances, the default value of 1000 bytes is optimal.