HDPCA Exam Objective – Add an HDP service to a cluster using Ambari

Note: This is post is part of the HDPCA exam objective series

When you install the HDP cluster for the first time, you can specify the services that you want to configure in the ambari server. But you can always add or remove any service later on using the ambari server Web UI. In this post, we will see how to add an HDP service (HBase) to a cluster using Ambari.

1. Click on Add Service

Goto the Services tab from the ambari dashboard and click the Actions tab on the left sidebar. Click “Add Service” from the drop-down to add a new service.

2. Choose Services

On the next screen, you will see all the list of services which are currently configured as well as yet to be configured. We will go ahead and select the HBase Service and click next.

3. Assign Masters

On the “Assign Masters” screen, you would see a default master being assigned for the HBase service. You can leave it as it is or select a different master. I have selected dn3.localdomain as my HBase master.

4. Assign Slaves and Clients

On this page, we must assign at least one RegionServer in case of adding HBase server. We will keep the default assignment of RegionServer and Client.

5. Customize Services

On the next page, ambari will come up with recommended configurations for the services you selected. Customize them as you see fit. We will keep the default setting intact and proceed with the configuration.

You may get a warning as shown below in case of HBase service. We can ignore it for now and proceed with the configuration

6. Review

You can review the services you are adding on this page. Once you are confident of the configuration, proceed with the deployment.

7. Install, Start and Test

The ambari server will start installing the HBase master, HBase client. It will also start the services and test the newly installed services by running service checks.

When the service installs and starts successfully, choose Next.

8. Summary

View the Summary of the install process on this page. As the ambari server pointed out, you may have to restart other services for the newly added services to function properly (for example, HDFS and YARN/MapReduce need to be restarted after adding Oozie).

The ambari server will have a restart service indicator for individual services if it is required by the newly added services.

Verify

You can go to the services tab to verify the newly added service. You can also perform a “service check” on the service if you want.

Related Post