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.
The security mode supports HTTPS and HTTP, and the common mode supports only HTTP.
Procedure
- The Hive service configuration page is displayed.
- For versions earlier than MRS 3.x, click the cluster name. On the cluster details page that is displayed, choose Components > Hive > Service Configuration, and select All from the Basic drop-down list.
If the Components tab is unavailable, complete IAM user synchronization first. (On the Dashboard page, click Synchronize on the right side of IAM User Sync to synchronize IAM users.)
- 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.
- For versions earlier than MRS 3.x, click the cluster name. On the cluster details page that is displayed, choose Components > Hive > Service Configuration, and select All from the Basic drop-down list.
- 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
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot