Using Windows Azure HDInsight Service

This authentication mechanism is available only for Hive Server 2 on HDInsight distributions. When you use this authentication mechanism, you must enable SSL, and HTTP is the only Thrift transport protocol available.

To configure a connection to a Hive server on Windows Azure HDInsight Service:

  1. Set the AuthMech connection attribute to 6.
  2. Set the HTTPPath attribute to the partial URL corresponding to the Hive server.
  3. Set the UID attribute to an appropriate user name for accessing the Hive server.
  4. Set the PWD attribute to the password corresponding to the user name you typed above.
  5. If necessary, you can create custom HTTP headers. For more information, see http.header..
  6. Configure SSL settings as needed. For more information, see Configuring SSL Verification.