Configuring HTTP Options

You can configure options such as custom headers when using the HTTP transport protocol in the Thrift layer. For information about how to determine if your Hive server supports the HTTP transport protocol, see Authentication Mechanisms.

The following instructions describe how to configure HTTP options in a DSN and in the connector configuration tool. You can specify the connection settings described below in a DSN, in a connection string, or as connector-wide settings. Settings in the connection string take precedence over settings in the DSN, and settings in the DSN take precedence over connector-wide settings.

To configure HTTP options:

  1. Choose one:
    • If you are configuring HTTP for a DSN, open the ODBC Data Source Administrator where you created the DSN, then select the DSN, then click Configure, and then make sure that the Thrift Transport option is set to HTTP.
    • Or, if you are configuring HTTP for a DSN-less connection, open the Simba Hive ODBC Driver Configuration tool and then make sure that the Thrift Transport option is set to HTTP.
  2. To access HTTP options, click HTTP Options.
  3. Note:

    The HTTP options are available only when the Thrift Transport option is set to HTTP.

  4. In the HTTP Path field, type the partial URL corresponding to the Hive server.
  5. To create a custom HTTP header, click Add, then type appropriate values in the Key and Value fields, and then click OK.
  6. To edit a custom HTTP header, select the header from the list, then click Edit, then update the Key and Value fields as needed, and then click OK.
  7. To delete a custom HTTP header, select the header from the list, and then click Remove. In the confirmation dialog box, click Yes.
  8. To save your settings and close the HTTP Properties dialog box, click OK.