Using User Name And Password

This authentication mechanism requires a user name and a password.

Note:

This authentication mechanism should not be used with an Impala configuration that does not have LDAP enabled.

To configure User Name And Password authentication:

  1. Set the AuthMech connection attribute to User Name and Password.
  2. Set the UID attribute to an appropriate user name for accessing the Impala server.
  3. Set the PWD attribute to the password corresponding to the user name you provided above.
  4. Optionally, set the TSaslTransportBufSize attribute to the number of bytes to reserve in memory for buffering unencrypted data from the network.
  5. Note:

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

  6. Optionally, to use SASL to handle authentication, set the UseSASL attribute to 1.
  7. Note:

    If the Transport Mode property is specified, it takes precedence over this property.