You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/hdinsight/hdinsight-hadoop-add-storage.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,13 @@ ms.author: hrasheed
6
6
ms.reviewer: jasonh
7
7
ms.service: hdinsight
8
8
ms.topic: conceptual
9
-
ms.date: 01/21/2020
9
+
ms.custom: seoapr2020
10
+
ms.date: 04/27/2020
10
11
---
11
12
12
13
# Add additional storage accounts to HDInsight
13
14
14
-
Learn how to use script actions to add additional Azure Storage *accounts* to HDInsight. The steps in this document add a storage *account* to an existing HDInsight cluster. This article applies to storage *accounts* (not the default cluster storage account), and not additional storage such as [Azure Data Lake Storage Gen1](hdinsight-hadoop-use-data-lake-store.md) and [Azure Data Lake Storage Gen2](hdinsight-hadoop-use-data-lake-storage-gen2.md).
15
+
Learn how to use script actions to add additional Azure Storage *accounts* to HDInsight. The steps in this document add a storage *account* to an existing HDInsight cluster. This article applies to storage *accounts* (not the default cluster storage account), and not additional storage such as [`Azure Data Lake Storage Gen1`](hdinsight-hadoop-use-data-lake-store.md) and [`Azure Data Lake Storage Gen2`](hdinsight-hadoop-use-data-lake-storage-gen2.md).
15
16
16
17
> [!IMPORTANT]
17
18
> The information in this document is about adding additional storage account(s) to a cluster after it has been created. For information on adding storage accounts during cluster creation, see [Set up clusters in HDInsight with Apache Hadoop, Apache Spark, Apache Kafka, and more](hdinsight-hadoop-provision-linux-clusters.md).
@@ -24,17 +25,17 @@ Learn how to use script actions to add additional Azure Storage *accounts* to HD
24
25
25
26
## How it works
26
27
27
-
During processing, the script performs the following actions:
28
+
During processing, the script does the following actions:
28
29
29
-
* If the storage account already exists in the core-site.xml configuration for the cluster, the script exits and no further actions are performed.
30
+
* If the storage account already exists in the core-site.xml configuration for the cluster, the script exits and no further actions are done.
30
31
31
32
* Verifies that the storage account exists and can be accessed using the key.
32
33
33
34
* Encrypts the key using the cluster credential.
34
35
35
36
* Adds the storage account to the core-site.xml file.
36
37
37
-
* Stops and restarts the [Apache Oozie](https://oozie.apache.org/), [Apache Hadoop YARN](https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/YARN.html), [Apache Hadoop MapReduce2](https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html), and [Apache Hadoop HDFS](https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsUserGuide.html) services. Stopping and starting these services allows them to use the new storage account.
38
+
* Stops and restarts the Apache Oozie, Apache Hadoop YARN, Apache Hadoop MapReduce2, and Apache Hadoop HDFS services. Stopping and starting these services allows them to use the new storage account.
38
39
39
40
> [!WARNING]
40
41
> Using a storage account in a different location than the HDInsight cluster is not supported.
@@ -113,13 +114,13 @@ After removing these keys and saving the configuration, you need to restart Oozi
113
114
114
115
### Storage firewall
115
116
116
-
If you choose to secure your storage account with the **Firewalls and virtual networks** restrictions on **Selected networks**, be sure to enable the exception **Allow trusted Microsoft services...** so that HDInsight can access your storage account.
117
+
If you choose to secure your storage account with the **Firewalls and virtual networks** restrictions on **Selected networks**, be sure to enable the exception **Allow trusted Microsoft services...** so that HDInsight can access your storage account`.`
117
118
118
119
### Unable to access storage after changing key
119
120
120
121
If you change the key for a storage account, HDInsight can no longer access the storage account. HDInsight uses a cached copy of key in the core-site.xml for the cluster. This cached copy must be updated to match the new key.
121
122
122
-
Running the script action again does __not__ update the key, as the script checks to see if an entry for the storage account already exists. If an entry already exists, it doesn't make any changes.
123
+
Running the script action again **doesn't** update the key, as the script checks to see if an entry for the storage account already exists. If an entry already exists, it doesn't make any changes.
123
124
124
125
To work around this problem:
125
126
1. Remove the storage account.
@@ -130,7 +131,7 @@ To work around this problem:
130
131
131
132
### Poor performance
132
133
133
-
If the storage account is in a different region than the HDInsight cluster, you may experience poor performance. Accessing data in a different region sends network traffic outside the regional Azure data center and across the public internet, which can introduce latency.
134
+
If the storage account is in a different region than the HDInsight cluster, you may experience poor performance. Accessing data in a different region sends network traffic outside the regional Azure data center. And across the public internet, which can introduce latency.
0 commit comments