Skip to content

Commit 720c6b4

Browse files
Merge pull request #107549 from dagiro/ts_hbase17
ts_hbase17
2 parents ead2461 + e1f163e commit 720c6b4

File tree

5 files changed

+82
-0
lines changed

5 files changed

+82
-0
lines changed

articles/hdinsight/TOC.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,9 @@
610610
href: ./hbase/apache-hbase-overview.md
611611
- name: Quickstarts
612612
items:
613+
- name: Create Apache HBase cluster - ARM Template
614+
displayName: Resource Manager
615+
href: ./hbase/quickstart-resource-manager-template.md
613616
- name: Query Apache HBase - Apache Phoenix
614617
href: ./hbase/apache-hbase-query-with-phoenix.md
615618
- name: Query Apache HBase - HBase Shell
133 KB
Loading
16.7 KB
Loading
307 KB
Loading
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
title: 'Quickstart: Create Apache HBase cluster using template - Azure HDInsight'
3+
description: This quickstart shows how to use Resource Manager template to create an Apache HBase cluster in Azure HDInsight.
4+
author: hrasheed-msft
5+
ms.author: hrasheed
6+
ms.reviewer: jasonh
7+
ms.service: hdinsight
8+
ms.topic: quickstart
9+
ms.custom: subject-armqs
10+
ms.date: 03/12/2020
11+
12+
#Customer intent: As a developer new to Apache HBase on Azure, I need to see how to create an HBase cluster.
13+
---
14+
15+
# Quickstart: Create Apache HBase cluster in Azure HDInsight using Resource Manager template
16+
17+
In this quickstart, you use an Azure Resource Manager template to create an [Apache HBase](./apache-hbase-overview.md) cluster in Azure HDInsight. HBase is an open-source, NoSQL database that is built on Apache Hadoop and modeled after [Google BigTable](https://cloud.google.com/bigtable/).
18+
19+
[!INCLUDE [About Azure Resource Manager](../../../includes/resource-manager-quickstart-introduction.md)]
20+
21+
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
22+
23+
## Create an Apache HBase cluster
24+
25+
### Review the template
26+
27+
The template used in this quickstart is from [Azure Quickstart templates](https://github.com/Azure/azure-quickstart-templates/tree/master/101-hdinsight-hbase-linux).
28+
29+
:::code language="json" source="~/quickstart-templates/101-hdinsight-hbase-linux/azuredeploy.json" range="1-145":::
30+
31+
32+
Two Azure resources are defined in the template:
33+
34+
* [Microsoft.Storage/storageAccounts](https://docs.microsoft.com/azure/templates/microsoft.storage/storageaccounts): create an Azure Storage Account.
35+
* [Microsoft.HDInsight/cluster](https://docs.microsoft.com/azure/templates/microsoft.hdinsight/clusters): create an HDInsight cluster.
36+
37+
### Deploy the template
38+
39+
1. Select the **Deploy to Azure** button below to sign in to Azure and open the Resource Manager template.
40+
41+
[![Deploy to Azure](./media/quickstart-resource-manager-template/deploy-to-azure.png)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-hdinsight-hbase-linux%2Fazuredeploy.json)
42+
43+
1. Enter or select the following values:
44+
45+
|Property |Description |
46+
|---|---|
47+
|Subscription|From the drop-down list, select the Azure subscription that's used for the cluster.|
48+
|Resource group|From the drop-down list, select your existing resource group, or select **Create new**.|
49+
|Location|The value will autopopulate with the location used for the resource group.|
50+
|Cluster Name|Enter a globally unique name. For this template, use only lowercase letters, and numbers.|
51+
|Cluster Login User Name|Provide the username, default is **admin**.|
52+
|Cluster Login Password|Provide a password. The password must be at least 10 characters in length and must contain at least one digit, one uppercase, and one lower case letter, one non-alphanumeric character (except characters ' " ` ). |
53+
|Ssh User Name|Provide the username, default is sshuser|
54+
|Ssh Password|Provide the password.|
55+
56+
![Resource Manager template HBase](./media/quickstart-resource-manager-template/resource-manager-template-hbase.png)
57+
58+
1. Review the **TERMS AND CONDITIONS**. Then select **I agree to the terms and conditions stated above**, then **Purchase**. You'll receive a notification that your deployment is in progress. It takes about 20 minutes to create a cluster.
59+
60+
## Review deployed resources
61+
62+
Once the cluster is created, you'll receive a **Deployment succeeded** notification with a **Go to resource** link. Your Resource group page will list your new HDInsight cluster and the default storage associated with the cluster. Each cluster has an [Azure Storage](../hdinsight-hadoop-use-blob-storage.md) account or an [Azure Data Lake Storage account](../hdinsight-hadoop-use-data-lake-store.md) dependency. It's referred as the default storage account. The HDInsight cluster and its default storage account must be colocated in the same Azure region. Deleting clusters doesn't delete the storage account.
63+
64+
## Clean up resources
65+
66+
After you complete the quickstart, you may want to delete the cluster. With HDInsight, your data is stored in Azure Storage, so you can safely delete a cluster when it isn't in use. You're also charged for an HDInsight cluster, even when it isn't in use. Since the charges for the cluster are many times more than the charges for storage, it makes economic sense to delete clusters when they aren't in use.
67+
68+
From the Azure portal, navigate to your cluster, and select **Delete**.
69+
70+
![Resource Manager template HBase](./media/quickstart-resource-manager-template/azure-portal-delete-hbase.png)
71+
72+
You can also select the resource group name to open the resource group page, and then select **Delete resource group**. By deleting the resource group, you delete both the HDInsight cluster, and the default storage account.
73+
74+
## Next steps
75+
76+
In this quickstart, you learned how to create an Apache HBase cluster in HDInsight using a Resource Manager template. In the next article, you learn how to query HBase in HDInsight with HBase Shell.
77+
78+
> [!div class="nextstepaction"]
79+
> [Query Apache HBase in Azure HDInsight with HBase Shell](./query-hbase-with-hbase-shell.md)

0 commit comments

Comments
 (0)