Configuring HTTP Options
You can configure options such as custom headers when using the HTTP transport protocol in the Thrift layer.
The following instructions describe how to configure HTTP options in a DSN
To configure HTTP options:
- 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.
- To access HTTP options, click HTTP Options.
- In the HTTP Path field, type the partial URL corresponding to the Hive server.
- To create a custom HTTP header, click Add, then type appropriate values in the Key and Value fields, and then click OK.
- 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.
- To delete a custom HTTP header, select the header from the list, and then click Remove. In the confirmation dialog box, click Yes.
- To save your settings and close the HTTP Properties dialog box, click OK.
Note:
The HTTP options are available only when the
- HTTP Path
- http.header.
- Creating a Data Source Name
- Configuring a DSN-less Connection
- General Driver Configuration Options on page 1
- Configuration Options Having Only Key Names