title | description | services | documentationcenter | author | manager | editor | ms.assetid | ms.service | ms.devlang | ms.topic | ms.tgt_pltfrm | ms.workload | ms.date | ms.author | ms.custom |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
How to delete an HDInsight cluster - Azure | Microsoft Docs |
Information on the various ways that you can delete an HDInsight cluster. |
hdinsight |
Blackmist |
jhubbard |
cgronlun |
55f7838b-9786-47ff-96db-1b64437bd0bb |
hdinsight |
na |
article |
na |
big-data |
10/23/2017 |
larryfr |
H1Hack27Feb2017,hdinsightactive |
HDInsight cluster billing starts once a cluster is created and stops when the cluster is deleted. Billing is pro-rated per minute, so you should always delete your cluster when it is no longer in use. In this document, you learn how to delete a cluster using the Azure portal, Azure PowerShell, and the Azure CLI 1.0.
Important
Deleting an HDInsight cluster does not delete the Azure Storage accounts or Data Lake Store associated with the cluster. You can reuse data stored in those services in the future.
-
Log in to the Azure portal and select your HDInsight cluster. If your HDInsight cluster is not pinned to the dashboard, you can search for it by name using the search field.
-
From the cluster settings, select the Delete icon. When prompted, select Yes to delete the cluster.
From a PowerShell prompt, use the following command to delete the cluster:
Remove-AzureRmHDInsightCluster -ClusterName CLUSTERNAME
Replace CLUSTERNAME with the name of your HDInsight cluster.
From a prompt, use the following to delete the cluster:
azure hdinsight cluster delete CLUSTERNAME
Replace CLUSTERNAME with the name of your HDInsight cluster.
Note
Azure CLI 2.0 does not support deleting HDInsight clusters at this time (October 23, 2017).