forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
4.7 KiB
4.7 KiB
Configuring HTTPS/HTTP-based REST APIs
Scenario
WebHCat provides external REST APIs for Hive. By default, the open-source community version uses the HTTP protocol.
MRS Hive supports the HTTPS protocol that is more secure, and enables switchover between the HTTP protocol and the HTTPS protocol.
Procedure
- The Hive service configuration page is displayed.
- For versions earlier than MRS 1.9.2, log in to MRS Manager, choose Services > Hive > Service Configuration, and select All from the Basic drop-down list.
- For MRS 1.9.2 or later, click the cluster name on the MRS console, choose Components > Hive > Service Configuration, and select All from the Basic drop-down list.
- For MRS 3.x or later, log in to FusionInsight Manager. For details, see Accessing FusionInsight Manager (MRS 3.x or Later). And choose Cluster > Name of the desired cluster > Services > Hive > Configurations > All Configurations.
- Modify the Hive configuration.
- For versions earlier than MRS 3.x: Enter the parameter name in the search box, search for templeton.protocol.type, change the parameter value to HTTPS or HTTP, and restart the Hive service to use the corresponding protocol.
- For MRS 3.x or earlier: Choose . On the page that is displayed, select HTTPS or HTTP. After the modification, restart the Hive service to use the corresponding protocol.
Parent topic: Using Hive