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/migrate-ambari-recent-version-hdinsight.md
+33-35Lines changed: 33 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: AmithshaS
5
5
ms.author: amithshas
6
6
ms.service: hdinsight
7
7
ms.topic: how-to
8
-
ms.date: 05/09/2024
8
+
ms.date: 05/22/2024
9
9
---
10
10
11
11
# Ambari user configs migration
@@ -28,36 +28,35 @@ After setting up HDInsight 5.x, it's necessary to update the user-defined config
28
28
## Workflow
29
29
30
30
To execute the migration process,
31
-
1. Run the script on the HDInsight 4.x cluster to obtain the current service configurations from Ambari. The output saved on the local system.
31
+
1. Run the script on the HDInsight 4.x cluster to obtain the current service configurations from Ambari. The output saved on the local VM from where the script executed.
32
32
1. Upload the output file to a public/common storage location, as it requires to download on the HDInsight 5.x cluster.
33
-
1. Execute the script on the HDInsight 5.x cluster to retrieve the current service configurations from Ambari.
34
-
1. Save the output on the local drive.
33
+
1. Execute the script on the HDInsight 5.x cluster to retrieve the current service configurations from Ambari. Save the output on the local drive.
34
+
1. Save the output.
35
35
1. Download the HDInsight 4.x cluster configurations from the storage account to the HDInsight 5.x cluster.
36
36
1. Run the script on the HDInsight 5.x cluster, where both the HDInsight 4.x and HDInsight 5.x configurations are present.
37
37
38
38
## Execution
39
39
40
40
On HDInsight 4 Cluster (Old Cluster)
41
-
1. ssh to headnode.
42
-
1. `mkdir hdinsights_ambari_utils`.
43
-
1. `cd hdinsights_ambari_utils`.
44
-
1. Download `ambari_export_cluster_configs.py`.
45
-
1. Run `wget https://hdiconfigactions2.blob.core.windows.net/hdi-sre-workspace/hdinsights_upgrade_ambari_utils/ambari_export_cluster_configs.py`.
46
-
41
+
1. ssh to headnode and run the following commands.
42
+
```
43
+
mkdir hdinsights_ambari_utils
44
+
cd hdinsights_ambari_utils
45
+
```
46
+
1. Run `wget https://hdiconfigactions2.blob.core.windows.net/hdi-sre-workspace/hdinsights_upgrade_ambari_utils/ambari_export_cluster_configs.py` to download the Python script.
1. Run `wget https://hdiconfigactions2.blob.core.windows.net/hdi-sre-workspace/hdinsights_upgrade_ambari_utils/ambari_export_cluster_configs.py`
70
+
1. Run `wget https://hdiconfigactions2.blob.core.windows.net/hdi-sre-workspace/hdinsights_upgrade_ambari_utils/ambari_export_cluster_configs.py` to download the Python script.
1. Run `wget https://hdiconfigactions2.blob.core.windows.net/hdi-sre-workspace/hdinsights_upgrade_ambari_utils/compare_ambari_cluster_configs.py`'
86
+
1. Run `wget https://hdiconfigactions2.blob.core.windows.net/hdi-sre-workspace/hdinsights_upgrade_ambari_utils/compare_ambari_cluster_configs.py` to download the Python script.
92
87
93
-
1. Run the `compare_ambari_cluster_configs.py` script.
94
-
1. Run `sshuser@hn0-sugar:~/hdinsights_ambari_utils$ python,
95
-
compare_ambari_cluster_configs.py plutos out sugar.out`
88
+
1. Run `compare_ambari_cluster_configs.py` script.
0 commit comments