Skip to content

Commit 9201b06

Browse files
authored
Merge pull request #99788 from dagiro/freshness146
freshness146
2 parents d40169d + 61ea052 commit 9201b06

7 files changed

+16
-90
lines changed

articles/hdinsight/interactive-query/hdinsight-grafana.md

Lines changed: 16 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -6,125 +6,51 @@ ms.author: hrasheed
66
ms.reviewer: jasonh
77
ms.service: hdinsight
88
ms.topic: conceptual
9-
ms.date: 12/11/2018
9+
ms.date: 12/27/2019
1010
---
1111

1212
# Access Grafana in Azure HDInsight
1313

1414
[Grafana](https://grafana.com/) is a popular, open-source graph and dashboard builder. Grafana is feature rich; not only does it let users create customizable and shareable dashboards, it also offers templated/scripted dashboards, LDAP integration, multiple data sources, and more.
1515

16-
Currently, in Azure HDInsight, Grafana is supported with the Hbase, Kafka and Interactive Query cluster types. It is not supported for clusters with Enterprise Security Pack enabled.
16+
Currently, in Azure HDInsight, Grafana is supported with the HBase, Kafka and Interactive Query cluster types. It is not supported for clusters with Enterprise Security Pack enabled.
1717

18-
If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/) before you begin.
18+
If you dont have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
1919

2020
## Create an Apache Hadoop cluster
2121

22-
In this section, you create an Interactive Query cluster in HDInsight using an Azure Resource Manager template. Resource Manager template experience is not required for following this article.
23-
24-
1. Click the **Deploy to Azure** button below to sign in to Azure and open the Resource Manager template in the Azure portal.
25-
26-
<a href="https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F101-hdinsight-interactive-hive%2Fazuredeploy.json" target="_blank"><img src="./media/hdinsight-grafana/hdi-deploy-to-azure1.png" alt="Deploy to Azure button for new cluster"></a>
27-
28-
2. Enter or select the values as suggested in the following screenshot:
29-
30-
> [!NOTE]
31-
> The values you provide must be unique and should follow the naming guidelines. The template does not perform validation checks. If the values you provide are already in use, or do not follow the guidelines, you get an error after you have submitted the template.
32-
>
33-
>
34-
35-
![HDInsight Linux get started Resource Manager template on portal](./media/hdinsight-grafana/hdinsight-linux-get-started-arm-template-on-portal.png "Deploy Hadoop cluster in HDInsigut using the Azure portal and a resource group manager template")
36-
37-
Enter or select the following values:
38-
39-
|Property |Description |
40-
|---------|---------|
41-
|**Subscription** | Select your Azure subscription. |
42-
|**Resource group** | Create a resource group or select an existing resource group. A resource group is a container of Azure components. In this case, the resource group contains the HDInsight cluster and the dependent Azure Storage account. |
43-
|**Location** | Select an Azure location where you want to create your cluster. Choose a location closer to you for better performance. |
44-
|**Cluster Type** | Select **hadoop**. |
45-
|**Cluster Name** | Enter a name for the Apache Hadoop cluster. Because all clusters in HDInsight share the same DNS namespace this name needs to be unique. The name can consist of up to 59 characters includings letters, numbers, and hyphens. The first and last characters of the name cannot be hyphens. |
46-
|**Cluster login name and password** | The default login name is **admin**. 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 ' " ` \). Make sure you **do not provide** common passwords such as "Pass@word1".|
47-
|**SSH username and password** | The default username is **sshuser**. You can rename the SSH username. The SSH user password has the same requirements as the cluster login password.|
48-
49-
Some properties have been hardcoded in the template. You can configure these values from the template. For more explanation of these properties, see [Create Apache Hadoop clusters in HDInsight](../hdinsight-hadoop-provision-linux-clusters.md).
50-
51-
3. Select **I agree to the terms and conditions stated above** and **Pin to dashboard**, and then select **Purchase**. You shall see a new tile titled **Submitting deployment** on the portal dashboard. It takes about 20 minutes to create a cluster.
52-
53-
![Azure Template deployment progress](./media/hdinsight-grafana/deployment-progress-tile.png "Azure Template deployment progress")
54-
55-
4. Once the cluster is created, the caption of the tile is changed to the resource group name you specified. The tile also lists the HDInsight cluster that is created within the resource group.
56-
57-
![HDInsight Linux get started resource group](./media/hdinsight-grafana/hdinsight-linux-get-started-resource-group.png "Azure HDInsight cluster resource group")
58-
59-
5. The tile also lists the default storage associated with the cluster. Each cluster has an [Azure Storage account](../hdinsight-hadoop-use-blob-storage.md) or an [Azure Data Lake account](../hdinsight-hadoop-use-data-lake-store.md) dependency. It is referred as the default storage account. HDInsight cluster and its default storage account must be colocated in the same Azure region. Deleting clusters does not delete the storage account.
60-
61-
62-
> [!NOTE]
63-
> For other cluster creation methods and understanding the properties used in this article, see [Create HDInsight clusters](../hdinsight-hadoop-provision-linux-clusters.md).
22+
See [Create Apache Hadoop clusters using the Azure portal](../hdinsight-hadoop-create-linux-clusters-portal.md). For **Cluster type**, select **Kafka**, **HBase**, or **Interactive Query**.
6423

6524
## Access the Grafana dashboard
6625

67-
1. Sign in to the [Azure portal](https://portal.azure.com).
68-
69-
2. Select **HDInsight clusters**, and then select the cluster name you created in the last section.
26+
1. From a web browser, navigate to `https://CLUSTERNAME.azurehdinsight.net/grafana/` where CLUSTERNAME is the name of your cluster.
7027

71-
3. Under **Quick links**, click **Cluster dashboard**.
28+
1. Enter the Hadoop cluster user credentials.
7229

73-
![HDInsight cluster dashboard portal](./media/hdinsight-grafana/hdinsight-portal-cluster-dashboard.png "HDInsight cluster dashboard on the portal")
74-
75-
4. From the dashboard, click the **Grafana** tile. Alternatively, browse to the `/grafana/` path of your cluster URL. For example, `https://<clustername>.azurehdinsight.net/grafana/`.
76-
77-
5. Enter the Hadoop cluster user credentials.
78-
79-
6. The Grafana dashboard appears and looks like this example:
30+
1. The Grafana dashboard appears and looks like this example:
8031

8132
![HDInsight Grafana web dashboard](./media/hdinsight-grafana/hdinsight-grafana-dashboard.png "HDInsight Grafana dashboard")
8233

8334
## Clean up resources
84-
After you complete the article, 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 is not in use. You are also charged for an HDInsight cluster, even when it is not 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 are not in use.
8535

86-
> [!NOTE]
87-
> If you are *immediately* proceeding to the next tutorial to learn how to run ETL operations using Hadoop on HDInsight, you may want to keep the cluster running. This is becuase in the tutorial you have to create a Hadoop cluster again. However, if you are not going through the next tutorial right away, you must delete the cluster now.
36+
If you're not going to continue to use this application, delete the cluster that you created with the following steps:
8837

89-
**To delete the cluster and/or the default storage account**
38+
1. Sign in to the [Azure portal](https://portal.azure.com/).
9039

91-
1. Go back to the browser tab where you have the Azure portal. You shall be on the cluster overview page. If you only want to delete the cluster but retain the default storage account, select **Delete**.
40+
1. In the **Search** box at the top, type **HDInsight**.
9241

93-
![Azure portal delete cluster icon](./media/hdinsight-grafana/hdinsight-delete-cluster.png "Delete HDInsight cluster")
42+
1. Select **HDInsight clusters** under **Services**.
9443

95-
2. If you want to delete the cluster as well as the default storage account, select the resource group name (highlighted in the previous screenshot) to open the resource group page.
44+
1. In the list of HDInsight clusters that appears, select the **...** next to the cluster that you created.
9645

97-
3. Select **Delete resource group** to delete the resource group, which contains the cluster and the default storage account. Note deleting the resource group deletes the storage account. If you want to keep the storage account, choose to delete the cluster only.
46+
1. Select **Delete**. Select **Yes**.
9847

9948
## Next steps
100-
In this article, you learned how to create a Linux-based HDInsight cluster using a Resource Manager template, and how to perform basic Apache Hive queries. In the next article, you learn how to perform an extract, transform, and load (ETL) operation using Hadoop on HDInsight.
101-
102-
> [!div class="nextstepaction"]
103-
>[Extract, transform, and load data using Interactive Query on HDInsight](../interactive-query/interactive-query-tutorial-analyze-flight-data.md)
104-
105-
If you're ready to start working with your own data and need to know more about how HDInsight stores data or how to get data into HDInsight, see the following articles:
106-
107-
* For information on how HDInsight uses Azure Storage, see [Use Azure Storage with HDInsight](../hdinsight-hadoop-use-blob-storage.md).
108-
* For information on how to upload data to HDInsight, see [Upload data to HDInsight](../hdinsight-upload-data.md).
10949

11050
To learn more about analyzing data with HDInsight, see the following articles:
11151

112-
* To learn more about using Hive with HDInsight, including how to perform Hive queries from Visual Studio, see [Use Apache Hive with HDInsight](../hdinsight-use-hive.md).
113-
* To learn about Pig, a language used to transform data, see [Use Apache Pig with HDInsight](../hdinsight-use-pig.md).
114-
* To learn about MapReduce, a way to write programs that process data on Hadoop, see [Use MapReduce with HDInsight](../hdinsight-use-mapreduce.md).
115-
* To learn about using the HDInsight Tools for Visual Studio to analyze data on HDInsight, see [Get started using Visual Studio Hadoop tools for HDInsight](../hadoop/apache-hadoop-visual-studio-tools-get-started.md).
116-
117-
118-
119-
If you'd like to learn more about creating or managing an HDInsight cluster, see the following articles:
120-
121-
* To learn about managing your Linux-based HDInsight cluster, see [Manage HDInsight clusters using Ambari](../hdinsight-hadoop-manage-ambari.md).
122-
* To learn more about the options you can select when creating an HDInsight cluster, see [Creating HDInsight on Linux using custom options](../hdinsight-hadoop-provision-linux-clusters.md).
123-
52+
* [Use Apache Hive with HDInsight](../hadoop/hdinsight-use-hive.md).
12453

125-
[1]: ../HDInsight/apache-hadoop-visual-studio-tools-get-started.md
54+
* [Use MapReduce with HDInsight](../hadoop/hdinsight-use-mapreduce.md).
12655

127-
[hdinsight-provision]: hdinsight-provision-linux-clusters.md
128-
[hdinsight-upload-data]: hdinsight-upload-data.md
129-
[hdinsight-use-hive]: hdinsight-use-hive.md
130-
[hdinsight-use-pig]: hdinsight-use-pig.md
56+
* [Get started using Visual Studio Hadoop tools for HDInsight](../hadoop/apache-hadoop-visual-studio-tools-get-started.md).

0 commit comments

Comments
 (0)