Skip to content

Commit aa70f54

Browse files
authored
Merge pull request #88435 from dagiro/cats86
cats86
2 parents 15d91fc + 8e8e068 commit aa70f54

File tree

5 files changed

+5
-6
lines changed

5 files changed

+5
-6
lines changed

articles/hdinsight/spark/apache-spark-intellij-tool-debug-remotely-through-ssh.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ms.custom: hdinsightactive,hdiseo17may2017
1010
ms.topic: conceptual
1111
ms.date: 11/25/2017
1212
---
13+
1314
# Debug Apache Spark applications on an HDInsight cluster with Azure Toolkit for IntelliJ through SSH
1415

1516
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
7172
1. Open the **SparkCore_wasbloTest** script, right-click the script editor, and then select the option **Run '[Spark Job]XXX'** to perform local run.
7273
1. Once local run completed, you can see the output file save to your current project explorer **data** > **__default__**.
7374

74-
![Local run result](./media/apache-spark-intellij-tool-debug-remotely-through-ssh/local-run-result.png)
75+
![Local run result](./media/apache-spark-intellij-tool-debug-remotely-through-ssh/spark-local-run-result.png)
7576
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.
7677

7778
![Local run configuration](./media/apache-spark-intellij-tool-debug-remotely-through-ssh/local-run-configuration.png)
@@ -108,13 +109,11 @@ To resolve this error, [download the executable](https://public-repo-1.hortonwor
108109

109110
1. After you complete the configurations settings, you can run the project against the remote cluster or perform remote debugging.
110111

111-
![Remote run button](./media/apache-spark-intellij-tool-debug-remotely-through-ssh/perform-remote-run.png)
112+
![Remote run button](./media/apache-spark-intellij-tool-debug-remotely-through-ssh/perform-remote-run-button.png)
112113

113114
1. Click the **Disconnect** button that the submission logs not appear in the left panel. However, it is still running on the backend.
114115

115-
![Remote run result](./media/apache-spark-intellij-tool-debug-remotely-through-ssh/remote-run-result.png)
116-
117-
116+
![Remote run result](./media/apache-spark-intellij-tool-debug-remotely-through-ssh/spark-remote-run-result.png)
118117

119118
### Scenario 2: Perform remote debugging
120119
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
142141

143142
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.
144143

145-
![Set value](./media/apache-spark-intellij-tool-debug-remotely-through-ssh/hdinsight-set-value.png)
144+
![Set value](./media/apache-spark-intellij-tool-debug-remotely-through-ssh/hdinsight-set-value1.png)
146145

147146
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.
148147

0 commit comments

Comments
 (0)