Using Windows Azure HDInsight Emulator

This authentication mechanism is available only for Spark Thrift Server instances running on Windows Azure HDInsight Emulator. When you use this authentication mechanism, SSL is not supported and HTTP is the only Thrift transport protocol available.

To configure a connection to a Spark server on Windows Azure HDInsight Emulator:

  1. Set the AuthMech connection attribute to 5.
  2. Set the HTTPPath attribute to the partial URL corresponding to the Spark server.
  3. Set the UID attribute to an appropriate user name for accessing the Spark server.
  4. Set the PWD attribute to the password corresponding to the user name you provided above.
  5. If necessary, you can create custom HTTP headers. For more information, see http.header..