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
# Debug Apache Spark applications on an HDInsight cluster with Azure Toolkit for IntelliJ through SSH
14
15
15
16
This article provides step-by-step guidance on how to use HDInsight Tools in [Azure Toolkit for IntelliJ](https://docs.microsoft.com/java/azure/intellij/azure-toolkit-for-intellij?view=azure-java-stable) to debug applications remotely on an HDInsight cluster. To debug your project, you can also view the [Debug HDInsight Spark applications with Azure Toolkit for IntelliJ](https://channel9.msdn.com/Series/AzureDataLake/Debug-HDInsight-Spark-Applications-with-Azure-Toolkit-for-IntelliJ) video.
@@ -71,7 +72,7 @@ To resolve this error, [download the executable](https://public-repo-1.hortonwor
71
72
1. Open the **SparkCore_wasbloTest** script, right-click the script editor, and then select the option **Run '[Spark Job]XXX'** to perform local run.
72
73
1. Once local run completed, you can see the output file save to your current project explorer **data** > **__default__**.
73
74
74
-

75
+

75
76
1. Our tools have set the default local run configuration automatically when you perform the local run and local debug. Open the configuration **[Spark on HDInsight] XXX** on the upper right corner, you can see the **[Spark on HDInsight]XXX** already created under **Apache Spark on HDInsight**. Switch to **Locally Run** tab.
76
77
77
78

@@ -108,13 +109,11 @@ To resolve this error, [download the executable](https://public-repo-1.hortonwor
108
109
109
110
1. After you complete the configurations settings, you can run the project against the remote cluster or perform remote debugging.
110
111
111
-

112
+

112
113
113
114
1. Click the **Disconnect** button that the submission logs not appear in the left panel. However, it is still running on the backend.
114
115
115
-

116
-
117
-
116
+

118
117
119
118
### Scenario 2: Perform remote debugging
120
119
1. Set up breaking points, and then Click the **Remote debug** icon. The difference with remote submission is that SSH username/password need to be configured.
@@ -142,7 +141,7 @@ To resolve this error, [download the executable](https://public-repo-1.hortonwor
142
141
143
142
1. Right-click the target on the **Debug** tab, and then select **Set Value**. Next, enter a new value for the variable. Then select **Enter** to save the value.
1. Select the **Resume Program** icon to continue to run the program. This time, no exception is caught. You can see that the project runs successfully without any exceptions.
0 commit comments