Created on 12-10-2016 01:19 AM - edited 09-16-2022 01:36 AM
DCloud for AWS 1.16 (released in June 2017) allows you to register a previously created RDS instance as a Hive or Druid metastore.
In this tutorial, we will be:
Note that you can use these instructions for creating a Druid metastore.
Let's get started!
As a prerequisite to this tutorial, you need to have an HDCloud cloud controller running on AWS. If you need help with the steps required to meet this prerequisite, refer to the following tutorial: How to set up Hortonworks Data Cloud (HDCloud) for AWS.
1. Navigate to the RDS Dashboard at https://console.aws.amazon.com/rds.
2. In the top right corner, select the region in which you want to create your DB instance. Let’s create the RDS instance in the same region in which you've launched the cloud controller.
3. In the RDS Dashboard navigation pane, click Instances, and then click Launch DB instance to launch the Launch DB Instance Wizard.
4. In Step 1: Select Engine, select the PostgreSQL Engine and click Select.
5. In Step 2: Production?, select Dev/Test and click Next Step.
6. In Step 3: Specify DB Details, enter:
7. In Step 4: Configure Advanced Settings:
8. Click Launch DB Instance.
9. Click on View Your DB Instances to get redirected to the RDS Dashboard. Keep this page open, as you will need to copy the RDS information and provide it in the Hive metastore registration form.
10. When your RDS instance is ready, proceed to the next step.
Congratulations! You've just launched an RDS instance and created a database on it. Let's register this database as a Hive metastore in your cloud controller.
1. Log in to the cloud controller UI.
2. From the navigation menu, select SHARED SERVICES:
3. The list of registered Hive Metastores is displayed.
4. Click REGISTER METASTORE and the registration form is displayed:
5. Enter the following parameters:
You can obtain these parameters from the RDS dashboard:
6. Click Test connection to validate and test the RDS connection information.
7. Once your settings are validated and working, click REGISTER HIVE METASTORE to save the metastore. The metastore will now show up in the list of available metastores when creating a cluster.
Congratulations! You've just registered your RDS as a Hive metastore.
Let us know if this was useful and how we can help you with HDCloud for AWS in the future. Free to leave a comment below with a suggestion for an HDCloud for AWS tutorial that you would like to see. Thanks!
Created on 04-03-2017 06:16 PM
Updated for HDCloud for AWS version 1.14.1. Check it out!
Created on 05-31-2017 10:07 PM
Updated for HDCloud for AWS version 1.14.4. Check it out!
Created on 06-15-2017 07:27 PM
Updated for the latest HDCloud version 1.16. No major changes, just updated screenshots and links. Check it out!