Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit bfdc8d2

Browse files
committedDec 7, 2018
seo fixes
1 parent 984af36 commit bfdc8d2

20 files changed

+39
-36
lines changed
 

‎articles/stream-analytics/stream-analytics-tools-visual-studio-cicd-vsts.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
2-
title: Deploy an Azure Stream Analytics job with CI/CD using Azure DevOps Services tutorial
3-
description: This article describes how to deploy a Stream Analytics job with CI/CD using Azure DevOps Services.
2+
title: Deploy an Azure Stream Analytics job with CI/CD using Azure DevOps
3+
description: This article describes how to deploy a Stream Analytics job with CI/CD using Azure DevOps Services.
44
services: stream-analytics
55
author: su-jie
66
ms.author: sujie
7-
manager: kfile
87
ms.reviewer: mamccrea
98
ms.service: stream-analytics
109
ms.topic: tutorial
11-
ms.date: 07/10/2018
10+
ms.date: 12/07/2018
11+
ms.custom: seodec18
1212
---
1313

1414
# Tutorial: Deploy an Azure Stream Analytics job with CI/CD using Azure Pipelines
@@ -50,11 +50,11 @@ Share your application source files to a project in Azure DevOps so you can gene
5050

5151
2. In the **Synchronization** view in **Team Explorer**, select the **Publish Git Repo** button under **Push to Azure DevOps Services**.
5252

53-
![Push Git Repo](./media/stream-analytics-tools-visual-studio-cicd-vsts/publishgitrepo.png)
53+
![Push to Azure DevOps Services Publish Git Repo button](./media/stream-analytics-tools-visual-studio-cicd-vsts/publish-git-repo-devops.png)
5454

5555
3. Verify your email and select your organization in the **Azure DevOps Services Domain** drop-down. Enter your repository name and select **Publish repository**.
5656

57-
![Push Git repo](./media/stream-analytics-tools-visual-studio-cicd-vsts/publishcode.png)
57+
![Push Git repo Publish Repository button](./media/stream-analytics-tools-visual-studio-cicd-vsts/publish-repository-devops.png)
5858

5959
Publishing the repo creates a new project in your organization with the same name as the local repo. To create the repo in an existing project, click **Advanced** next to **Repository name**, and select a project. You can view your code in the browser by selecting **See it on the web**.
6060

@@ -68,45 +68,45 @@ Open a web browser and navigate to the project you just created in [Azure DevOps
6868

6969
1. Under the **Build & Release** tab, select **Builds**, and then **+New**. Select **Azure DevOps Services Git** and **Continue**.
7070

71-
![Select source](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-select-source.png)
71+
![Select DevOps Git source in Azure DevOps](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-select-source-devops.png)
7272

7373
2. In **Select a template**, click **Empty Process** to start with an empty pipeline.
7474

75-
![Choose build template](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-select-template.png)
75+
![Select empty process from template options in DevOps](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-select-template-empty-process.png)
7676

7777
3. Under **Triggers**, enable continuous integration by checking **Enable continuous integration** trigger status. Select **Save and queue** to manually start a build.
7878

79-
![Trigger status](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-trigger.png)
79+
![Enable continuous integration trigger status](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-trigger-status-ci.png)
8080

8181
4. Builds are also triggered upon push or check-in. To check your build progress, switch to the **Builds** tab. Once you verify that the build executes successfully, you must define a release pipeline that deploys your application to a cluster. Right click on the ellipses next to your build pipeline and select **Edit**.
8282

8383
5. In **Tasks**, enter "Hosted" as the **Agent queue**.
8484

85-
![Select agent queue](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-agent-queue.png)
85+
![Select agent queue in Tasks menu](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-agent-queue-task.png)
8686

8787
6. In **Phase 1**, click **+** and add a **NuGet** task.
8888

89-
![Add a NuGet task](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-nuget.png)
89+
![Add a NuGet task in Agent queue](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-add-nuget-task.png)
9090

9191
7. Expand **Advanced** and add `$(Build.SourcesDirectory)\packages` to **Destination directory**. Keep the remaining default NuGet configuration values.
9292

93-
![Configure NuGet task](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-nuget-config.png)
93+
![Configure NuGet restore task](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-nuget-restore-config.png)
9494

9595
8. In **Phase 1**, click **+** and add a **MSBuild** task.
9696

97-
![Add MSBuild Task](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-msbuild-task.png)
97+
![Add MSBuild Task in Agent queue](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-add-msbuild-task.png)
9898

9999
9. Change the **MSBuild Arguments** to the following:
100100

101101
```
102102
/p:CompilerTaskAssemblyFile="Microsoft.WindowsAzure.StreamAnalytics.Common.CompileService.dll" /p:ASATargetsFilePath="$(Build.SourcesDirectory)\packages\Microsoft.Azure.StreamAnalytics.CICD.1.0.0\build\StreamAnalytics.targets"
103103
```
104104

105-
![Configure MSBuild task](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-msbuild.png)
105+
![Configure MSBuild task in DevOps](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-config-msbuild-task.png)
106106

107107
10. In **Phase 1**, click **+** and add an **Azure Resource Group Deployment** task.
108108

109-
![Add an Azure Resource Group Deployment task](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-deploy.png)
109+
![Add an Azure Resource Group Deployment task](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-add-resource-group-deployment.png)
110110

111111
11. Expand **Azure Details** and fill out the configuration with the following:
112112

@@ -119,16 +119,16 @@ Open a web browser and navigate to the project you just created in [Azure DevOps
119119
|Template parameters | [Your solution path]\bin\Debug\Deploy\\[Your project name].JobTemplate.parameters.json |
120120
|Override template parameters | Type the template parameters to override in the textbox. Example, –storageName fabrikam –adminUsername $(vmusername) -adminPassword $(password) –azureKeyVaultName $(fabrikamFibre). This property is optional, but your build will result in errors if key parameters are not overridden. |
121121

122-
![Set properties](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-deploy-2.png)
122+
![Set properties for Azure Resource Group Deployment](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-deployment-properties.png)
123123

124124
12. Click **Save & Queue** to test the build pipeline.
125125

126-
![Set override parameters](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-save-queue.png)
126+
![Save and queue build in DevOps](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-save-and-queue-build.png)
127127

128128
### Failed build process
129129
You may receive errors for null deployment parameters if you did not override template parameters in the **Azure Resource Group Deployment** task of your build pipeline. Return to the build pipeline and override the null parameters to resolve the error.
130130

131-
![Build process failed](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-process-failed.png)
131+
![DevOps Stream Analytics build process failed](./media/stream-analytics-tools-visual-studio-cicd-vsts/devops-build-process-failed.png)
132132

133133
### Commit and push changes to trigger a release
134134
Verify that the continuous integration pipeline is functioning by checking in some code changes to Azure DevOps.
@@ -137,11 +137,11 @@ As you write your code, your changes are automatically tracked by Visual Studio.
137137

138138
1. On the **Changes** view in Team Explorer, add a message describing your update and commit your changes.
139139

140-
![Commit and push changes](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-push-changes.png)
140+
![Commit repo changes from Visual Studio](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-commit-changes-visual-studio.png)
141141

142142
2. Select the unpublished changes status bar icon or the Sync view in Team Explorer. Select **Push** to update your code in Azure DevOps.
143143

144-
![Commit and push changes](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-push-changes-2.png)
144+
![Push changes from Visual Studio](./media/stream-analytics-tools-visual-studio-cicd-vsts/build-push-changes-visual-studio.png)
145145

146146
Pushing the changes to Azure DevOps Services automatically triggers a build. When the build pipeline successfully completes, a release is automatically created and starts updating the job on the cluster.
147147

‎articles/stream-analytics/stream-analytics-troubleshoot-input.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ ms.author: sidram
77
ms.reviewer: mamccrea
88
ms.service: stream-analytics
99
ms.topic: conceptual
10-
ms.date: 10/11/2018
10+
ms.date: 12/07/2018
11+
ms.custom: seodec18
1112
---
1213

1314
# Troubleshoot input connections
@@ -42,7 +43,7 @@ You can take the following steps to analyze the input events in detail to get a
4243

4344
2. The input details tile displays a list of warnings with details about each issue. The example warning message below includes the partition, offset, and sequence numbers where there is malformed JSON data.
4445

45-
![Warning message with offset](media/stream-analytics-malformed-events/warning-message-with-offset.png)
46+
![Stream Analytics warning message with offset](media/stream-analytics-malformed-events/warning-message-with-offset.png)
4647

4748
3. To find the JSON data with the incorrect format, run the CheckMalformedEvents.cs code available in the [GitHub samples repository](https://github.com/Azure/azure-stream-analytics/tree/master/Samples/CheckMalformedEventsEH). This code reads the partition ID, offset, and prints the data that's located in that offset.
4849

@@ -97,7 +98,7 @@ The WITH clause specifies a temporary named result set that can be referenced by
9798

9899
For example, instead of this query:
99100

100-
```
101+
```SQL
101102
SELECT foo
102103
INTO output1
103104
FROM inputEventHub
@@ -110,7 +111,7 @@ FROM inputEventHub
110111

111112
Use this query:
112113

113-
```
114+
```SQL
114115
WITH data AS (
115116
SELECT * FROM inputEventHub
116117
)

‎articles/stream-analytics/stream-analytics-troubleshoot-output.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ ms.author: sidram
77
ms.reviewer: mamccrea
88
ms.service: stream-analytics
99
ms.topic: conceptual
10-
ms.date: 11/21/2018
10+
ms.date: 12/07/2018
11+
ms.custom: seodec18
1112
---
1213

1314
# Troubleshoot Azure Stream Analytics outputs

‎articles/stream-analytics/stream-analytics-troubleshoot-query.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ ms.author: sidram
77
ms.reviewer: mamccrea
88
ms.service: stream-analytics
99
ms.topic: conceptual
10-
ms.date: 10/11/2018
10+
ms.date: 12/07/2018
11+
ms.custom: seodec18
1112
---
1213

1314
# Troubleshoot Azure Stream Analytics queries
@@ -42,47 +43,47 @@ In real-time data processing, knowing what the data looks like in the middle of
4243

4344
The following example query in an Azure Stream Analytics job has one stream input, two reference data inputs, and an output to Azure Table Storage. The query joins data from the event hub and two reference blobs to get the name and category information:
4445

45-
![Example SELECT INTO query](./media/stream-analytics-select-into/stream-analytics-select-into-query1.png)
46+
![Example Stream Analytics SELECT INTO query](./media/stream-analytics-select-into/stream-analytics-select-into-query1.png)
4647

4748
Note that the job is running, but no events are being produced in the output. On the **Monitoring** tile, shown here, you can see that the input is producing data, but you don’t know which step of the **JOIN** caused all the events to be dropped.
4849

49-
![The Monitoring tile](./media/stream-analytics-select-into/stream-analytics-select-into-monitor.png)
50+
![The Stream Analytics Monitoring tile](./media/stream-analytics-select-into/stream-analytics-select-into-monitor.png)
5051

5152
In this situation, you can add a few extra SELECT INTO statements to "log" the intermediate JOIN results and the data that's read from the input.
5253

5354
In this example, we've added two new "temporary outputs." They can be any sink you like. Here we use Azure Storage as an example:
5455

55-
![Adding extra SELECT INTO statements](./media/stream-analytics-select-into/stream-analytics-select-into-outputs.png)
56+
![Adding extra SELECT INTO statements to Stream Analytics query](./media/stream-analytics-select-into/stream-analytics-select-into-outputs.png)
5657

5758
You can then rewrite the query like this:
5859

59-
![Rewritten SELECT INTO query](./media/stream-analytics-select-into/stream-analytics-select-into-query2.png)
60+
![Rewritten SELECT INTO Stream Analytics query](./media/stream-analytics-select-into/stream-analytics-select-into-query2.png)
6061

6162
Now start the job again, and let it run for a few minutes. Then query temp1 and temp2 with Visual Studio Cloud Explorer to produce the following tables:
6263

6364
**temp1 table**
64-
![SELECT INTO temp1 table](./media/stream-analytics-select-into/stream-analytics-select-into-temp-table-1.png)
65+
![SELECT INTO temp1 table Stream Analytics query](./media/stream-analytics-select-into/stream-analytics-select-into-temp-table-1.png)
6566

6667
**temp2 table**
67-
![SELECT INTO temp2 table](./media/stream-analytics-select-into/stream-analytics-select-into-temp-table-2.png)
68+
![SELECT INTO temp2 table Stream Analytics query](./media/stream-analytics-select-into/stream-analytics-select-into-temp-table-2.png)
6869

6970
As you can see, temp1 and temp2 both have data, and the name column is populated correctly in temp2. However, because there is still no data in output, something is wrong:
7071

71-
![SELECT INTO output1 table with no data](./media/stream-analytics-select-into/stream-analytics-select-into-out-table-1.png)
72+
![SELECT INTO output1 table with no data Stream Analytics query](./media/stream-analytics-select-into/stream-analytics-select-into-out-table-1.png)
7273

7374
By sampling the data, you can be almost certain that the issue is with the second JOIN. You can download the reference data from the blob and take a look:
7475

75-
![SELECT INTO ref table](./media/stream-analytics-select-into/stream-analytics-select-into-ref-table-1.png)
76+
![SELECT INTO ref table Stream Analytics query](./media/stream-analytics-select-into/stream-analytics-select-into-ref-table-1.png)
7677

7778
As you can see, the format of the GUID in this reference data is different from the format of the [from] column in temp2. That’s why the data didn’t arrive in output1 as expected.
7879

7980
You can fix the data format, upload it to reference blob, and try again:
8081

81-
![SELECT INTO temp table](./media/stream-analytics-select-into/stream-analytics-select-into-ref-table-2.png)
82+
![SELECT INTO temp table Stream Analytics query](./media/stream-analytics-select-into/stream-analytics-select-into-ref-table-2.png)
8283

8384
This time, the data in the output is formatted and populated as expected.
8485

85-
![SELECT INTO final table](./media/stream-analytics-select-into/stream-analytics-select-into-final-table.png)
86+
![SELECT INTO final table Stream Analytics query](./media/stream-analytics-select-into/stream-analytics-select-into-final-table.png)
8687

8788
## Get help
8889

0 commit comments

Comments
 (0)