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-administer-use-dotnet-sdk.md
+1-72Lines changed: 1 addition & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn how to perform administrative tasks for the Apache Hadoop clu
5
5
ms.service: hdinsight
6
6
ms.custom: "hdinsightactive, devx-track-csharp"
7
7
ms.topic: conceptual
8
-
ms.date: 06/30/2022
8
+
ms.date: 11/17/2022
9
9
10
10
11
11
---
@@ -151,77 +151,6 @@ The impact of changing the number of data nodes for each type of cluster support
151
151
>balancer
152
152
```
153
153
154
-
* Apache Storm
155
-
156
-
You can seamlessly add or remove data nodes to your Storm cluster while it is running. But after a successful completion of the scaling operation, you will need to rebalance the topology.
157
-
158
-
Rebalancing can be accomplished in two ways:
159
-
160
-
* Storm web UI
161
-
* Command-line interface (CLI) tool
162
-
163
-
Please refer to the [Apache Storm documentation](https://storm.apache.org/documentation/Understanding-the-parallelism-of-a-Storm-topology.html) for more details.
164
-
165
-
The Storm web UI is available on the HDInsight cluster:
The following code snippet shows how to resize a cluster synchronously or asynchronously:
180
-
181
-
```csharp
182
-
_hdiManagementClient.Clusters.Resize("<Resource Group Name>", "<Cluster Name>", <New Size>);
183
-
_hdiManagementClient.Clusters.ResizeAsync("<Resource Group Name>", "<Cluster Name>", <New Size>);
184
-
```
185
-
186
-
## Grant/revoke access
187
-
188
-
HDInsight clusters have the following HTTP web services (all of these services have RESTful endpoints):
189
-
190
-
* ODBC
191
-
* JDBC
192
-
* Apache Ambari
193
-
* Apache Oozie
194
-
* Apache Templeton
195
-
196
-
By default, these services are granted for access. You can revoke/grant the access. To revoke:
197
-
198
-
```csharp
199
-
var httpParams = new HttpSettingsParameters
200
-
{
201
-
HttpUserEnabled = false,
202
-
HttpUsername = "admin",
203
-
HttpPassword = "*******",
204
-
};
205
-
_hdiManagementClient.Clusters.ConfigureHttpSettings("<Resource Group Name>, <Cluster Name>, httpParams);
206
-
```
207
-
208
-
To grant:
209
-
210
-
```csharp
211
-
var httpParams = new HttpSettingsParameters
212
-
{
213
-
HttpUserEnabled = enable,
214
-
HttpUsername = "admin",
215
-
HttpPassword = "*******",
216
-
};
217
-
_hdiManagementClient.Clusters.ConfigureHttpSettings("<Resource Group Name>, <Cluster Name>, httpParams);
218
-
```
219
-
220
-
> [!NOTE]
221
-
> By granting/revoking the access, you will reset the cluster user name and password.
222
-
223
-
This can also be done via the Portal. See [Manage Apache Hadoop clusters in HDInsight by using the Azure portal](hdinsight-administer-use-portal-linux.md).
224
-
225
154
## Update HTTP user credentials
226
155
227
156
It is the same procedure as Grant/revoke HTTP access. If the cluster has been granted the HTTP access, you must first revoke it. And then grant the access with new HTTP user credentials.
0 commit comments