Skip to content

Commit d4a7f23

Browse files
Merge pull request #88535 from dagiro/cats94
cats94
2 parents c427f34 + d73fd7b commit d4a7f23

File tree

5 files changed

+9
-11
lines changed

5 files changed

+9
-11
lines changed

articles/hdinsight/spark/apache-spark-use-with-data-lake-store.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ In this article, you use [Jupyter Notebook](https://jupyter.org/) available with
2020

2121
* Azure HDInsight Spark cluster with Data Lake Storage Gen1 as storage. Follow the instructions at [Quickstart: Set up clusters in HDInsight](../../storage/data-lake-storage/quickstart-create-connect-hdi-cluster.md).
2222

23-
2423
## Prepare the data
2524

2625
> [!NOTE]
@@ -52,7 +51,7 @@ If you created an HDInsight cluster with Data Lake Storage as additional storage
5251

5352
## Use an HDInsight Spark cluster with Data Lake Storage Gen1
5453

55-
1. From the [Azure Portal](https://portal.azure.com/), from the startboard, click the tile for your Apache Spark cluster (if you pinned it to the startboard). You can also navigate to your cluster under **Browse All** > **HDInsight Clusters**.
54+
1. From the [Azure portal](https://portal.azure.com/), from the startboard, click the tile for your Apache Spark cluster (if you pinned it to the startboard). You can also navigate to your cluster under **Browse All** > **HDInsight Clusters**.
5655

5756
2. From the Spark cluster blade, click **Quick Links**, and then from the **Cluster Dashboard** blade, click **Jupyter Notebook**. If prompted, enter the admin credentials for the cluster.
5857

@@ -115,7 +114,7 @@ If you created an HDInsight cluster with Data Lake Storage as additional storage
115114

116115
You can also see the results in other visualizations as well. For example, an area graph for the same output would look like the following.
117116

118-
![Area graph of query result](./media/apache-spark-use-with-data-lake-store/jupyter-area-output.png "Area graph of query result")
117+
![Area graph of query result](./media/apache-spark-use-with-data-lake-store/jupyter-area-output1.png "Area graph of query result")
119118

120119
8. After you have finished running the application, you should shutdown the notebook to release the resources. To do so, from the **File** menu on the notebook, click **Close and Halt**. This will shutdown and close the notebook.
121120

articles/hdinsight/storm/apache-storm-develop-csharp-visual-studio-topology.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ For an example topology that uses this component and works with Storm on HDInsig
130130

131131
2. From the **New Project** window, expand **Installed** > **Templates**, and select **Azure Data Lake**. From the list of templates, select **Storm Application**. At the bottom of the screen, enter **WordCount** as the name of the application.
132132

133-
![Screenshot of New Project window](./media/apache-storm-develop-csharp-visual-studio-topology/new-project.png)
133+
![Screenshot of New Project window](./media/apache-storm-develop-csharp-visual-studio-topology/apache-storm-new-project.png)
134134

135135
3. After you have created the project, you should have the following files:
136136

@@ -333,7 +333,7 @@ For an example topology that uses this component and works with Storm on HDInsig
333333

334334
Spouts and bolts are arranged in a graph, which defines how the data flows between components. For this topology, the graph is as follows:
335335

336-
![Diagram of how components are arranged](./media/apache-storm-develop-csharp-visual-studio-topology/wordcount-topology.png)
336+
![Diagram of how components are arranged](./media/apache-storm-develop-csharp-visual-studio-topology/word-count-topology1.png)
337337

338338
Sentences are emitted from the spout, and are distributed to instances of the Splitter bolt. The Splitter bolt breaks the sentences into words, which are distributed to the Counter bolt.
339339

@@ -456,7 +456,6 @@ For an example of a hybrid topology, create a project and select **Storm Hybrid
456456
> [!NOTE]
457457
> This version also demonstrates how to use Clojure code from a text file as a Java component.
458458
459-
460459
To switch the topology that is used when the project is submitted, move the `[Active(true)]` statement to the topology you want to use, before submitting it to the cluster.
461460

462461
> [!NOTE]
@@ -566,15 +565,15 @@ Although it is easy to deploy a topology to a cluster, in some cases, you may ne
566565
> [!NOTE]
567566
> Remember to change the **Output type** back to **Class Library** before you deploy the topology to a cluster.
568567
569-
2. In **Solution Explorer**, right-click the project, and then select **Add** > **New Item**. Select **Class**, and enter **LocalTest.cs** as the class name. Finally, click **Add**.
568+
1. In **Solution Explorer**, right-click the project, and then select **Add** > **New Item**. Select **Class**, and enter **LocalTest.cs** as the class name. Finally, click **Add**.
570569

571-
3. Open **LocalTest.cs**, and add the following **using** statement at the top:
570+
1. Open **LocalTest.cs**, and add the following **using** statement at the top:
572571

573572
```csharp
574573
using Microsoft.SCP;
575574
```
576575

577-
4. Use the following code as the contents of the **LocalTest** class:
576+
1. Use the following code as the contents of the **LocalTest** class:
578577

579578
```csharp
580579
// Drives the topology components
@@ -676,9 +675,9 @@ Although it is easy to deploy a topology to a cluster, in some cases, you may ne
676675
Console.ReadKey();
677676
```
678677

679-
2. Save the changes, and then click **F5** or select **Debug** > **Start Debugging** to start the project. A console window should appear, and log status as the tests progress. When **Tests finished** appears, press any key to close the window.
678+
1. Save the changes, and then click **F5** or select **Debug** > **Start Debugging** to start the project. A console window should appear, and log status as the tests progress. When **Tests finished** appears, press any key to close the window.
680679

681-
3. Use **Windows Explorer** to locate the directory that contains your project. For example: **C:\Users\<your_user_name>\Documents\Visual Studio 2013\Projects\WordCount\WordCount**. In this directory, open **Bin**, and then click **Debug**. You should see the text files that were produced when the tests ran: sentences.txt, counter.txt, and splitter.txt. Open each text file and inspect the data.
680+
1. Use **Windows Explorer** to locate the directory that contains your project. For example: **C:\Users\<your_user_name>\Documents\Visual Studio 2013\Projects\WordCount\WordCount**. In this directory, open **Bin**, and then click **Debug**. You should see the text files that were produced when the tests ran: sentences.txt, counter.txt, and splitter.txt. Open each text file and inspect the data.
682681

683682
> [!NOTE]
684683
> String data persists as an array of decimal values in these files. For example, \[[97,103,111]] in the **splitter.txt** file is the word *and*.

0 commit comments

Comments
 (0)