Explore the Monitor Hub in Synapse Studio to keep track of all activities in your Synapse workspace

Published 12-15-2020 08:55 AM 2,080 Views
Microsoft

Mission Control: Monitor Current and Historical Activities for SQL, Apache Spark, and Pipelines.

The Monitor hub in Azure Synapse Analytics helps keep track of all activities in your Synapse workspace, including the active ones. In this post, we will investigate a Synapse pipeline’s lifecycle, investigate SQL requests that ran in the workspace, and finally monitor a spark application’s progress.

 

Using a Sample Pipeline from Azure Synapse Knowledge Center

 

To get our hands on a pipeline, we will use the Azure Synapse Knowledge Center where we can find various pipeline templates. Inside the Synapse workspace, choose the Integrate option from the left menu to open the Integrate Hub.

saveenr_0-1607996284032.png

Integrate Hub is open. The plus button to add new artifacts is selected. Browse Gallery from the list of resource options is highlighted.

 

Once in the gallery, make sure Pipelines page is selected. From the list of available sample pipelines, choose Delete files older than 30 days and select Continue.

saveenr_1-1607996284061.png

Knowledge Center pipeline gallery is open. Delete files older than 30 days pipeline is selected. Continue button is highlighted.

 

On the next screen, you can see the pipeline’s details. We will have to pick a linked service for BinaryDatasetForDeleteActivity and DeleteFiles. BinaryDatasetForDeleteActivity is where the source files will be. The pipeline will look into this location for files older than 30 days and delete older files. DeleteFiles is the location where the pipeline will store its log files. Once both values are set, select Open pipeline to continue. In our case, we picked the default Azure Data Lake Storage Gen2 of our Synapse workspace.

saveenr_2-1607996284076.png

Delete files older than 30 days pipeline creation window is up. BinaryDatasetForDeleteActivity and DeleteFiles are set to the default workspace storage of the Synapse workspace. Open pipeline button is highlighted.

 

We are ready to publish our pipeline and save it as part of our Synapse workspace. Select Publish all to create the pipeline and the required datasets.

saveenr_3-1607996284082.png

Delete files older than 30 days pipeline is open. Publish all button is highlighted.

 

Monitoring Pipelines in Azure Synapse Analytics

 

It’s time to run our pipeline for the first time. Select Add trigger and hit Trigger now to execute the pipeline.

saveenr_4-1607996284088.png

Delete files older than 30 days pipeline is open. Add trigger is selected, and Trigger now command is highlighted.

 

The pipeline will ask for some input parameters. For now, leave those as they are and select OK to continue.

saveenr_5-1607996284091.png

Pipeline run windows shows a list of pipeline parameters with their default values. The OK button is highlighted.

 

Switch to the Monitor hub by selecting the Monitor section from the left menu in your Synapse workspace. Select Pipeline runs to open a page where you can see a list of past and current pipeline activities. As you can see, our pipeline has failed. Clicking on the parameters link shows us the parameter values we passed in.

saveenr_6-1607996284104.png

Monitor Hub is open. Pipeline runs section is selected. The latest pipeline run for Delete files older than 30 days pipeline is shown to be failed. Pipeline’s parameters collection is presented.

 

The SourceDirectory parameter we set previously refers to a folder named subfolder that does not exist in our Azure Data Lake Storage Gen2. Moreover, SourceFolder parameter’s value does not map to a file system either. Let’s fix those errors now.

Switch to the Data hub and navigate into the Azure Data Lake Storage Gen2 you assigned to your pipeline. Open the default file system, in our case default-fs, and select New Folder from the top menu to create a new folder. Name it sample-directory. Select Continue to create the folder.

saveenr_7-1607996284115.png

Data hub is open. Workspace’s default ADLS Gen2 location is selected, and its default-fs file system is open. The new folder command from the top menu is selected. The new folder name is set to sample-directory, and the Create button is highlighted.

 

Go back to your pipeline and trigger it again. This time we will set SourceFolder to default-fs, SourceDirectory to sample-directory, and leave the LoggingPath with its default value.

saveenr_8-1607996284118.png

Pipeline run parameters are set. The OK button is highlighted.

 

Going back to the Monitor hub, we can see that the current execution of the pipeline did succeed because we fixed it.

saveenr_9-1607996284132.png

Pipeline run parameters are set. The OK button is highlighted.

 

Using SQL Scripts from Azure Synapse Knowledge Center

 

In order to test out SQL Script Monitoring in Azure Synapse we need some SQL Scripts. We can get some good ones from Azure Synapse Knowledge Center. Inside the Synapse workspace, choose the Develop option from the left menu to open the Develop Hub. Select “+” Add New Resource command and Browse gallery to navigate to the gallery.

saveenr_10-1607996284136.png

Develop Hub is open. The plus button to add new artifacts is selected. Browse Gallery from the list of resource options is highlighted.

 

Once in the gallery, make sure SQL Scripts page is selected. From the list of available sample scripts, choose Query CSV files and select Continue.

saveenr_11-1607996284155.png

Knowledge Center SQL Script gallery is open. Query CSV files script is selected. Continue button is highlighted.

 

You can preview the script and select Open script once you are ready to move back to the Develop hub.

saveenr_12-1607996284173.png

Query CSV files script is displayed. Open script button is highlighted.

 

Monitor SQL Request Activity in Synapse Analytics

 

If you want to save the script to your workspace, you can select Publish All. You can run the script by choosing Run from the top menu without publishing the script.

saveenr_13-1607996284187.png

Query CSV files script is displayed. Publish all button and Run command are highlighted.

 

Now, let’s switch to the Monitor hub and select SQL requests from the Activities section. This will show you all the SQL script activity in your workspace. We can see the script’s duration, the submitter, and the data processed while running the script.

saveenr_14-1607996284203.png

Monitor hub is open. SQL requests section is selected. The latest SQL query is highlighted.

 

If you select the Request Content you can see the full query.

saveenr_15-1607996284207.png

SQL Script body is displayed. The Close button is highlighted.

 

Using Notebooks from Azure Synapse Knowledge Center

 

In order to test out Apache Spark Application Monitoring in Azure Synapse we will grab a notebook from Azure Synapse Knowledge Center. Inside the Synapse workspace, choose the Develop option from the left menu to open the Develop Hub. Select “+” Add New Resource command and Browse gallery to navigate to the gallery.

saveenr_16-1607996284213.png

Develop Hub is open. The plus button to add new artifacts is selected. Browse Gallery from the list of resource options is highlighted.

 

Once in the gallery, make sure Notebooks page is selected. From the list of available sample notebooks, choose Getting Started with Delta Lake and select Continue.

saveenr_17-1607996284226.png

Knowledge Center Notebook gallery is open. Getting Started with Delta Lake notebook is selected. Continue button is highlighted.

 

You can preview the notebook and select Open notebook once you are ready to move back to the Develop hub.

saveenr_18-1607996284236.png

Getting Started with Delta Lake notebook is displayed. Open notebook button is highlighted.

 

When you are back in the Develop hub a pop-up dialog will suggest you to create an Apache Spark pool if you do not have one already. Select Create pool to continue.

saveenr_19-1607996284284.png

No spark pool available dialog is shown. Create pool button is highlighted.

 

The provisioning of your new Apache Spark pool can take a minute. You can select Show Notifications from the top menu and monitor the deployment status.

saveenr_20-1607996284297.png

Azure Portal Notifications are open. Deployment status for the Spark pool is highlighted.

 

Once the deployment is complete, you can select Run all to run all the cells in the current notebook in sequence. The first time you run the notebook, a new Spark session will be created. With its default settings, the session will time out in 30 minutes if you do not run any queries. If you want to save the notebook to your Synapse workspace, make sure you select Publish all.

saveenr_21-1607996284312.png

Getting Started with Delta Lake notebook is displayed. Publish all and Run all commands are highlighted.

 

Monitoring Spark Applications in Synapse Analytics

 

Once you run a notebook, you can navigate to the Monitor Hub and select Apache Spark applications section to see a list of activities. Focus on the latest run and select the Application name to navigate into the details page of the session.

saveenr_22-1607996284322.png

Monitor Hub is open. Apache Spark applications section is selected. The latest run of the Getting Started with Delta Lake notebook is highlighted with the Submitting status.

 

From the details page, you can select Spark UI to navigate to Apache Spark.

saveenr_23-1607996284345.png

Details for the Getting Started with Delta Lake notebook is displayed. Spark UI button is highlighted.

 

Here you can see the Spark application user interface.

saveenr_24-1607996284361.png

Spark UI is displayed.

 

Keeping Things Clean and Tidy

 

While we had fun monitoring pipelines, SQL Scripts, and notebooks, we created a list of artifacts in our Synapse workspace. Let’s do some cleaning before we leave.

 

From the Integrate hub, we will delete the pipeline we created. Open the Actions menu for Delete files older than 30 days pipeline and select Delete. Make sure you hit Publish All to publish the delete operation.

saveenr_25-1607996284367.png

Integrate Hub is open. Actions menu for Delete files older than 30 days pipeline is selected. Delete command is highlighted.

 

From the Develop hub, we will delete the SQL Script and the Notebook we created. Open the Actions menu for Query CSLV files and select Delete. Do the same for Getting Started with Delta Lake notebook as well. Make sure you hit Publish All to publish the delete operations.

saveenr_26-1607996284372.png

Develop Hub is open. Actions menu for Getting Started with Delta Lake notebook is selected. Delete command is highlighted.

 

From the Data hub, we will delete the dataset we created. Open the Actions menu for BinaryDatasetForDeleteActivity and select Delete. Make sure you hit Publish All to publish the delete operations.

saveenr_27-1607996284379.png

Data Hub is open. Actions menu for BinaryDatasetForDeleteActivity dataset is selected. Delete command is highlighted.

 

Navigate to the Manage Hub and list the linked services. From the list select Delete for bing-covid-19-data.

saveenr_28-1607996284387.png

Manage Hub is open. The linked services section is selected. Delete command for bing-covid-19-data is highlighted.

 

Within the Manage hub, switch to Apache Spark pools list. Select More for the spark pool you created and hit Delete to remove it.

saveenr_29-1607996284398.png

Manage Hub is open. Apache spark pools section is selected. Delete command for SampleSpark is highlighted.

 

With that, we deleted all we created so far.

 

Conclusion

 

Whatever happens in Synapse can be monitored in the Monitor Hub. During our short journey, we ran and monitored a pipeline, SQL scripts and an Apache Spark notebook. Having the knowledge center with sample data sets, pipelines and notebooks definitely make a test run easy.

 

Go ahead, try out this tutorial yourself today by creating an Azure Synapse workspace.

saveenr_30-1607996284408.jpeg

 

 

%3CLINGO-SUB%20id%3D%22lingo-sub-1987405%22%20slang%3D%22en-US%22%3EExplore%20the%20Monitor%20Hub%20in%20Synapse%20Studio%20to%20keep%20track%20of%20all%20activities%20in%20your%20Synapse%20workspace%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1987405%22%20slang%3D%22en-US%22%3E%3CH1%20id%3D%22toc-hId-617180243%22%20id%3D%22toc-hId-617118737%22%3EMission%20Control%3A%20Monitor%20Current%20and%20Historical%20Activities%20for%20SQL%2C%20Apache%20Spark%2C%20and%20Pipelines.%3C%2FH1%3E%0A%3CP%3EThe%20Monitor%20hub%20in%20Azure%20Synapse%20Analytics%20helps%20keep%20track%20of%20all%20activities%20in%20your%20Synapse%20workspace%2C%20including%20the%20active%20ones.%20In%20this%20post%2C%20we%20will%20investigate%20a%20Synapse%20pipeline%E2%80%99s%20lifecycle%2C%20investigate%20SQL%20requests%20that%20ran%20in%20the%20workspace%2C%20and%20finally%20monitor%20a%20spark%20application%E2%80%99s%20progress.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1307741717%22%20id%3D%22toc-hId-1307680211%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId--499712746%22%20id%3D%22toc-hId--499774252%22%3EUsing%20a%20Sample%20Pipeline%20from%20Azure%20Synapse%20Knowledge%20Center%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20get%20our%20hands%20on%20a%20pipeline%2C%20we%20will%20use%20the%20Azure%20Synapse%20Knowledge%20Center%20where%20we%20can%20find%20various%20pipeline%20templates.%20Inside%20the%20Synapse%20workspace%2C%20choose%20the%20%3CSTRONG%3EIntegrate%3C%2FSTRONG%3E%20option%20from%20the%20left%20menu%20to%20open%20the%20%3CSTRONG%3EIntegrate%20Hub%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_0-1607996284032.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240568i30CAAE5DFF29430D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_0-1607996284032.png%22%20alt%3D%22saveenr_0-1607996284032.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EIntegrate%20Hub%20is%20open.%20The%20plus%20button%20to%20add%20new%20artifacts%20is%20selected.%20Browse%20Gallery%20from%20the%20list%20of%20resource%20options%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20in%20the%20gallery%2C%20make%20sure%20%3CSTRONG%3EPipelines%3C%2FSTRONG%3E%20page%20is%20selected.%20From%20the%20list%20of%20available%20sample%20pipelines%2C%20choose%20%3CSTRONG%3EDelete%20files%20older%20than%2030%20days%3C%2FSTRONG%3E%20and%20select%20%3CSTRONG%3EContinue%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_1-1607996284061.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240570i62602ACD0E6AAC30%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_1-1607996284061.png%22%20alt%3D%22saveenr_1-1607996284061.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EKnowledge%20Center%20pipeline%20gallery%20is%20open.%20Delete%20files%20older%20than%2030%20days%20pipeline%20is%20selected.%20Continue%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOn%20the%20next%20screen%2C%20you%20can%20see%20the%20pipeline%E2%80%99s%20details.%20We%20will%20have%20to%20pick%20a%20linked%20service%20for%20%3CSTRONG%3EBinaryDatasetForDeleteActivity%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EDeleteFiles%3C%2FSTRONG%3E.%20%3CSTRONG%3EBinaryDatasetForDeleteActivity%3C%2FSTRONG%3E%20is%20where%20the%20source%20files%20will%20be.%20The%20pipeline%20will%20look%20into%20this%20location%20for%20files%20older%20than%2030%20days%20and%20delete%20older%20files.%20%3CSTRONG%3EDeleteFiles%3C%2FSTRONG%3E%20is%20the%20location%20where%20the%20pipeline%20will%20store%20its%20log%20files.%20Once%20both%20values%20are%20set%2C%20select%20%3CSTRONG%3EOpen%20pipeline%3C%2FSTRONG%3E%20to%20continue.%20In%20our%20case%2C%20we%20picked%20the%20default%20Azure%20Data%20Lake%20Storage%20Gen2%20of%20our%20Synapse%20workspace.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_2-1607996284076.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240569i1E933BBF071FE8F3%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_2-1607996284076.png%22%20alt%3D%22saveenr_2-1607996284076.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EDelete%20files%20older%20than%2030%20days%20pipeline%20creation%20window%20is%20up.%20BinaryDatasetForDeleteActivity%20and%20DeleteFiles%20are%20set%20to%20the%20default%20workspace%20storage%20of%20the%20Synapse%20workspace.%20Open%20pipeline%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20ready%20to%20publish%20our%20pipeline%20and%20save%20it%20as%20part%20of%20our%20Synapse%20workspace.%20Select%20%3CSTRONG%3EPublish%20all%3C%2FSTRONG%3E%20to%20create%20the%20pipeline%20and%20the%20required%20datasets.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_3-1607996284082.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240573iB8CF23AC37F0C969%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_3-1607996284082.png%22%20alt%3D%22saveenr_3-1607996284082.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EDelete%20files%20older%20than%2030%20days%20pipeline%20is%20open.%20Publish%20all%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1987800087%22%20id%3D%22toc-hId-1987738581%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-180345624%22%20id%3D%22toc-hId-180284118%22%3EMonitoring%20Pipelines%20in%20Azure%20Synapse%20Analytics%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%E2%80%99s%20time%20to%20run%20our%20pipeline%20for%20the%20first%20time.%20Select%20%3CSTRONG%3EAdd%20trigger%3C%2FSTRONG%3E%20and%20hit%20%3CSTRONG%3ETrigger%20now%3C%2FSTRONG%3E%20to%20execute%20the%20pipeline.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_4-1607996284088.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240572i154F20650F595045%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_4-1607996284088.png%22%20alt%3D%22saveenr_4-1607996284088.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EDelete%20files%20older%20than%2030%20days%20pipeline%20is%20open.%20Add%20trigger%20is%20selected%2C%20and%20Trigger%20now%20command%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20pipeline%20will%20ask%20for%20some%20input%20parameters.%20For%20now%2C%20leave%20those%20as%20they%20are%20and%20select%20%3CSTRONG%3EOK%3C%2FSTRONG%3E%20to%20continue.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_5-1607996284091.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240571iF105849C1DECC3AF%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_5-1607996284091.png%22%20alt%3D%22saveenr_5-1607996284091.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EPipeline%20run%20windows%20shows%20a%20list%20of%20pipeline%20parameters%20with%20their%20default%20values.%20The%20OK%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESwitch%20to%20the%20%3CSTRONG%3EMonitor%3C%2FSTRONG%3E%20hub%20by%20selecting%20the%20%3CSTRONG%3EMonitor%3C%2FSTRONG%3E%20section%20from%20the%20left%20menu%20in%20your%20Synapse%20workspace.%20Select%20%3CSTRONG%3EPipeline%20runs%3C%2FSTRONG%3E%20to%20open%20a%20page%20where%20you%20can%20see%20a%20list%20of%20past%20and%20current%20pipeline%20activities.%20As%20you%20can%20see%2C%20our%20pipeline%20has%20failed.%20Clicking%20on%20the%20parameters%20link%20shows%20us%20the%20parameter%20values%20we%20passed%20in.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_6-1607996284104.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240575i2829B1C8AF38FF72%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_6-1607996284104.png%22%20alt%3D%22saveenr_6-1607996284104.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EMonitor%20Hub%20is%20open.%20Pipeline%20runs%20section%20is%20selected.%20The%20latest%20pipeline%20run%20for%20Delete%20files%20older%20than%2030%20days%20pipeline%20is%20shown%20to%20be%20failed.%20Pipeline%E2%80%99s%20parameters%20collection%20is%20presented.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20%3CSTRONG%3ESourceDirectory%3C%2FSTRONG%3E%20parameter%20we%20set%20previously%20refers%20to%20a%20folder%20named%20%3CSPAN%3Esubfolder%3C%2FSPAN%3E%20that%20does%20not%20exist%20in%20our%20Azure%20Data%20Lake%20Storage%20Gen2.%20Moreover%2C%20%3CSTRONG%3ESourceFolder%3C%2FSTRONG%3E%20parameter%E2%80%99s%20value%20does%20not%20map%20to%20a%20file%20system%20either.%20Let%E2%80%99s%20fix%20those%20errors%20now.%3C%2FP%3E%0A%3CP%3ESwitch%20to%20the%20%3CSTRONG%3EData%3C%2FSTRONG%3E%20hub%20and%20navigate%20into%20the%20Azure%20Data%20Lake%20Storage%20Gen2%20you%20assigned%20to%20your%20pipeline.%20Open%20the%20default%20file%20system%2C%20in%20our%20case%20%3CSTRONG%3Edefault-fs%3C%2FSTRONG%3E%2C%20and%20select%20%3CSTRONG%3ENew%20Folder%3C%2FSTRONG%3E%20from%20the%20top%20menu%20to%20create%20a%20new%20folder.%20Name%20it%20%3CSPAN%3Esample-directory%3C%2FSPAN%3E.%20Select%20%3CSTRONG%3EContinue%3C%2FSTRONG%3E%20to%20create%20the%20folder.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_7-1607996284115.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240576iB531768D0AD63DC0%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_7-1607996284115.png%22%20alt%3D%22saveenr_7-1607996284115.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EData%20hub%20is%20open.%20Workspace%E2%80%99s%20default%20ADLS%20Gen2%20location%20is%20selected%2C%20and%20its%20default-fs%20file%20system%20is%20open.%20The%20new%20folder%20command%20from%20the%20top%20menu%20is%20selected.%20The%20new%20folder%20name%20is%20set%20to%20sample-directory%2C%20and%20the%20Create%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGo%20back%20to%20your%20pipeline%20and%20trigger%20it%20again.%20This%20time%20we%20will%20set%20%3CSTRONG%3ESourceFolder%3C%2FSTRONG%3E%20to%20%3CSPAN%3Edefault-fs%3C%2FSPAN%3E%2C%20%3CSTRONG%3ESourceDirectory%3C%2FSTRONG%3E%20to%20%3CSPAN%3Esample-directory%3C%2FSPAN%3E%2C%20and%20leave%20the%20LoggingPath%20with%20its%20default%20value.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_8-1607996284118.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240574i688330664C4FB13D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_8-1607996284118.png%22%20alt%3D%22saveenr_8-1607996284118.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EPipeline%20run%20parameters%20are%20set.%20The%20OK%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGoing%20back%20to%20the%20Monitor%20hub%2C%20we%20can%20see%20that%20the%20current%20execution%20of%20the%20pipeline%20did%20succeed%20because%20we%20fixed%20it.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_9-1607996284132.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240578iE30BA5263F096C45%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_9-1607996284132.png%22%20alt%3D%22saveenr_9-1607996284132.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EPipeline%20run%20parameters%20are%20set.%20The%20OK%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1627108839%22%20id%3D%22toc-hId--1627170345%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-860403994%22%20id%3D%22toc-hId-860342488%22%3EUsing%20SQL%20Scripts%20from%20Azure%20Synapse%20Knowledge%20Center%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20order%20to%20test%20out%20SQL%20Script%20Monitoring%20in%20Azure%20Synapse%20we%20need%20some%20SQL%20Scripts.%20We%20can%20get%20some%20good%20ones%20from%20Azure%20Synapse%20Knowledge%20Center.%20Inside%20the%20Synapse%20workspace%2C%20choose%20the%20%3CSTRONG%3EDevelop%3C%2FSTRONG%3E%20option%20from%20the%20left%20menu%20to%20open%20the%20%3CSTRONG%3EDevelop%20Hub%3C%2FSTRONG%3E.%20Select%20%E2%80%9C%2B%E2%80%9D%20%3CSTRONG%3EAdd%20New%20Resource%3C%2FSTRONG%3E%20command%20and%20%3CSTRONG%3EBrowse%20gallery%3C%2FSTRONG%3E%20to%20navigate%20to%20the%20gallery.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_10-1607996284136.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240577iDA6CDD95CABCE9DA%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_10-1607996284136.png%22%20alt%3D%22saveenr_10-1607996284136.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EDevelop%20Hub%20is%20open.%20The%20plus%20button%20to%20add%20new%20artifacts%20is%20selected.%20Browse%20Gallery%20from%20the%20list%20of%20resource%20options%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20in%20the%20gallery%2C%20make%20sure%20%3CSTRONG%3ESQL%20Scripts%3C%2FSTRONG%3E%20page%20is%20selected.%20From%20the%20list%20of%20available%20sample%20scripts%2C%20choose%20%3CSTRONG%3EQuery%20CSV%20files%3C%2FSTRONG%3E%20and%20select%20%3CSTRONG%3EContinue%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_11-1607996284155.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240579iC1B4953BA3397D15%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_11-1607996284155.png%22%20alt%3D%22saveenr_11-1607996284155.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EKnowledge%20Center%20SQL%20Script%20gallery%20is%20open.%20Query%20CSV%20files%20script%20is%20selected.%20Continue%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20preview%20the%20script%20and%20select%20%3CSTRONG%3EOpen%20script%3C%2FSTRONG%3E%20once%20you%20are%20ready%20to%20move%20back%20to%20the%20%3CSTRONG%3EDevelop%3C%2FSTRONG%3E%20hub.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_12-1607996284173.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240580i6DE6D7A614EF1F8A%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_12-1607996284173.png%22%20alt%3D%22saveenr_12-1607996284173.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EQuery%20CSV%20files%20script%20is%20displayed.%20Open%20script%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--947050469%22%20id%3D%22toc-hId--947111975%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-1540462364%22%20id%3D%22toc-hId-1540400858%22%3EMonitor%20SQL%20Request%20Activity%20in%20Synapse%20Analytics%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20want%20to%20save%20the%20script%20to%20your%20workspace%2C%20you%20can%20select%20%3CSTRONG%3EPublish%20All%3C%2FSTRONG%3E.%20You%20can%20run%20the%20script%20by%20choosing%20%3CSTRONG%3ERun%3C%2FSTRONG%3E%20from%20the%20top%20menu%20without%20publishing%20the%20script.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_13-1607996284187.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240581i1EEECB788415A0BA%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_13-1607996284187.png%22%20alt%3D%22saveenr_13-1607996284187.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EQuery%20CSV%20files%20script%20is%20displayed.%20Publish%20all%20button%20and%20Run%20command%20are%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%2C%20let%E2%80%99s%20switch%20to%20the%20%3CSTRONG%3EMonitor%3C%2FSTRONG%3E%20hub%20and%20select%20%3CSTRONG%3ESQL%20requests%3C%2FSTRONG%3E%20from%20the%20%3CSTRONG%3EActivities%3C%2FSTRONG%3E%20section.%20This%20will%20show%20you%20all%20the%20SQL%20script%20activity%20in%20your%20workspace.%20We%20can%20see%20the%20script%E2%80%99s%20duration%2C%20the%20submitter%2C%20and%20the%20data%20processed%20while%20running%20the%20script.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_14-1607996284203.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240582i72BDD42B7C00AB7E%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_14-1607996284203.png%22%20alt%3D%22saveenr_14-1607996284203.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EMonitor%20hub%20is%20open.%20SQL%20requests%20section%20is%20selected.%20The%20latest%20SQL%20query%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20select%20the%20%3CSTRONG%3ERequest%20Content%3C%2FSTRONG%3E%20you%20can%20see%20the%20full%20query.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_15-1607996284207.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240583i5036A68A2990E677%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_15-1607996284207.png%22%20alt%3D%22saveenr_15-1607996284207.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3ESQL%20Script%20body%20is%20displayed.%20The%20Close%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--266992099%22%20id%3D%22toc-hId--267053605%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId--400676823%22%20id%3D%22toc-hId--400738329%22%3EUsing%20Notebooks%20from%20Azure%20Synapse%20Knowledge%20Center%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20order%20to%20test%20out%20Apache%20Spark%20Application%20Monitoring%20in%20Azure%20Synapse%20we%20will%20grab%20a%20notebook%20from%20Azure%20Synapse%20Knowledge%20Center.%20Inside%20the%20Synapse%20workspace%2C%20choose%20the%20%3CSTRONG%3EDevelop%3C%2FSTRONG%3E%20option%20from%20the%20left%20menu%20to%20open%20the%20%3CSTRONG%3EDevelop%20Hub%3C%2FSTRONG%3E.%20Select%20%E2%80%9C%2B%E2%80%9D%20%3CSTRONG%3EAdd%20New%20Resource%3C%2FSTRONG%3E%20command%20and%20%3CSTRONG%3EBrowse%20gallery%3C%2FSTRONG%3E%20to%20navigate%20to%20the%20gallery.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_16-1607996284213.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240584i2DC28F0AB8AE301F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_16-1607996284213.png%22%20alt%3D%22saveenr_16-1607996284213.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EDevelop%20Hub%20is%20open.%20The%20plus%20button%20to%20add%20new%20artifacts%20is%20selected.%20Browse%20Gallery%20from%20the%20list%20of%20resource%20options%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20in%20the%20gallery%2C%20make%20sure%20%3CSTRONG%3ENotebooks%3C%2FSTRONG%3E%20page%20is%20selected.%20From%20the%20list%20of%20available%20sample%20notebooks%2C%20choose%20%3CSTRONG%3EGetting%20Started%20with%20Delta%20Lake%3C%2FSTRONG%3E%20and%20select%20%3CSTRONG%3EContinue%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_17-1607996284226.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240585i121A1D010297A997%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_17-1607996284226.png%22%20alt%3D%22saveenr_17-1607996284226.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EKnowledge%20Center%20Notebook%20gallery%20is%20open.%20Getting%20Started%20with%20Delta%20Lake%20notebook%20is%20selected.%20Continue%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20preview%20the%20notebook%20and%20select%20%3CSTRONG%3EOpen%20notebook%3C%2FSTRONG%3E%20once%20you%20are%20ready%20to%20move%20back%20to%20the%20%3CSTRONG%3EDevelop%3C%2FSTRONG%3E%20hub.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_18-1607996284236.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240586i909D725F2DDF611B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_18-1607996284236.png%22%20alt%3D%22saveenr_18-1607996284236.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EGetting%20Started%20with%20Delta%20Lake%20notebook%20is%20displayed.%20Open%20notebook%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20are%20back%20in%20the%20%3CSTRONG%3EDevelop%3C%2FSTRONG%3E%20hub%20a%20pop-up%20dialog%20will%20suggest%20you%20to%20create%20an%20Apache%20Spark%20pool%20if%20you%20do%20not%20have%20one%20already.%20Select%20%3CSTRONG%3ECreate%20pool%3C%2FSTRONG%3E%20to%20continue.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_19-1607996284284.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240588i9B913E49A8F4C559%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_19-1607996284284.png%22%20alt%3D%22saveenr_19-1607996284284.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3ENo%20spark%20pool%20available%20dialog%20is%20shown.%20Create%20pool%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20provisioning%20of%20your%20new%20Apache%20Spark%20pool%20can%20take%20a%20minute.%20You%20can%20select%20%3CSTRONG%3EShow%20Notifications%3C%2FSTRONG%3E%20from%20the%20top%20menu%20and%20monitor%20the%20deployment%20status.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_20-1607996284297.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240587iCB2779CB564134EA%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_20-1607996284297.png%22%20alt%3D%22saveenr_20-1607996284297.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EAzure%20Portal%20Notifications%20are%20open.%20Deployment%20status%20for%20the%20Spark%20pool%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20the%20deployment%20is%20complete%2C%20you%20can%20select%20%3CSTRONG%3ERun%20all%3C%2FSTRONG%3E%20to%20run%20all%20the%20cells%20in%20the%20current%20notebook%20in%20sequence.%20The%20first%20time%20you%20run%20the%20notebook%2C%20a%20new%20Spark%20session%20will%20be%20created.%20With%20its%20default%20settings%2C%20the%20session%20will%20time%20out%20in%2030%20minutes%20if%20you%20do%20not%20run%20any%20queries.%20If%20you%20want%20to%20save%20the%20notebook%20to%20your%20Synapse%20workspace%2C%20make%20sure%20you%20select%20%3CSTRONG%3EPublish%20all%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_21-1607996284312.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240589i2B50459E33E483BF%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_21-1607996284312.png%22%20alt%3D%22saveenr_21-1607996284312.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EGetting%20Started%20with%20Delta%20Lake%20notebook%20is%20displayed.%20Publish%20all%20and%20Run%20all%20commands%20are%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-2086836010%22%20id%3D%22toc-hId-2086774504%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-279381547%22%20id%3D%22toc-hId-279320041%22%3EMonitoring%20Spark%20Applications%20in%20Synapse%20Analytics%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20you%20run%20a%20notebook%2C%20you%20can%20navigate%20to%20the%20%3CSTRONG%3EMonitor%20Hub%3C%2FSTRONG%3E%20and%20select%20%3CSTRONG%3EApache%20Spark%20applications%3C%2FSTRONG%3E%20section%20to%20see%20a%20list%20of%20activities.%20Focus%20on%20the%20latest%20run%20and%20select%20the%20%3CSTRONG%3EApplication%20name%3C%2FSTRONG%3E%20to%20navigate%20into%20the%20details%20page%20of%20the%20session.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_22-1607996284322.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240590iF4A5F6D5CDCDBFFA%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_22-1607996284322.png%22%20alt%3D%22saveenr_22-1607996284322.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EMonitor%20Hub%20is%20open.%20Apache%20Spark%20applications%20section%20is%20selected.%20The%20latest%20run%20of%20the%20Getting%20Started%20with%20Delta%20Lake%20notebook%20is%20highlighted%20with%20the%20Submitting%20status.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFrom%20the%20details%20page%2C%20you%20can%20select%20%3CSTRONG%3ESpark%20UI%3C%2FSTRONG%3E%20to%20navigate%20to%20Apache%20Spark.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_23-1607996284345.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240591i8919F485168F641F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_23-1607996284345.png%22%20alt%3D%22saveenr_23-1607996284345.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EDetails%20for%20the%20Getting%20Started%20with%20Delta%20Lake%20notebook%20is%20displayed.%20Spark%20UI%20button%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20you%20can%20see%20the%20Spark%20application%20user%20interface.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_24-1607996284361.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240594i434ED66F1E406535%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_24-1607996284361.png%22%20alt%3D%22saveenr_24-1607996284361.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3ESpark%20UI%20is%20displayed.%3C%2FEM%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1528072916%22%20id%3D%22toc-hId--1528134422%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-959439917%22%20id%3D%22toc-hId-959378411%22%3EKeeping%20Things%20Clean%20and%20Tidy%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhile%20we%20had%20fun%20monitoring%20pipelines%2C%20SQL%20Scripts%2C%20and%20notebooks%2C%20we%20created%20a%20list%20of%20artifacts%20in%20our%20Synapse%20workspace.%20Let%E2%80%99s%20do%20some%20cleaning%20before%20we%20leave.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFrom%20the%20%3CSTRONG%3EIntegrate%3C%2FSTRONG%3E%20hub%2C%20we%20will%20delete%20the%20pipeline%20we%20created.%20Open%20the%20%3CSTRONG%3EActions%3C%2FSTRONG%3E%20menu%20for%20%3CSPAN%3EDelete%20files%20older%20than%2030%20days%20pipeline%3C%2FSPAN%3E%20and%20select%20%3CSTRONG%3EDelete%3C%2FSTRONG%3E.%20Make%20sure%20you%20hit%20%3CSTRONG%3EPublish%20All%3C%2FSTRONG%3E%20to%20publish%20the%20delete%20operation.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_25-1607996284367.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240593i0D839BDA4EC22B8B%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_25-1607996284367.png%22%20alt%3D%22saveenr_25-1607996284367.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EIntegrate%20Hub%20is%20open.%20Actions%20menu%20for%20Delete%20files%20older%20than%2030%20days%20pipeline%20is%20selected.%20Delete%20command%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFrom%20the%20%3CSTRONG%3EDevelop%3C%2FSTRONG%3E%20hub%2C%20we%20will%20delete%20the%20%3CSTRONG%3ESQL%20Script%3C%2FSTRONG%3E%20and%20the%20%3CSTRONG%3ENotebook%3C%2FSTRONG%3E%20we%20created.%20Open%20the%20%3CSTRONG%3EActions%3C%2FSTRONG%3E%20menu%20for%20%3CSPAN%3EQuery%20CSLV%20files%3C%2FSPAN%3E%20and%20select%20%3CSTRONG%3EDelete%3C%2FSTRONG%3E.%20Do%20the%20same%20for%20%3CSPAN%3EGetting%20Started%20with%20Delta%20Lake%3C%2FSPAN%3E%20notebook%20as%20well.%20Make%20sure%20you%20hit%20%3CSTRONG%3EPublish%20All%3C%2FSTRONG%3E%20to%20publish%20the%20delete%20operations.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_26-1607996284372.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240592i190667E93D6AC266%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_26-1607996284372.png%22%20alt%3D%22saveenr_26-1607996284372.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EDevelop%20Hub%20is%20open.%20Actions%20menu%20for%20Getting%20Started%20with%20Delta%20Lake%20notebook%20is%20selected.%20Delete%20command%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFrom%20the%20%3CSTRONG%3EData%3C%2FSTRONG%3E%20hub%2C%20we%20will%20delete%20the%20dataset%20we%20created.%20Open%20the%20%3CSTRONG%3EActions%3C%2FSTRONG%3E%20menu%20for%20%3CSPAN%3EBinaryDatasetForDeleteActivity%3C%2FSPAN%3E%20and%20select%20%3CSTRONG%3EDelete%3C%2FSTRONG%3E.%20Make%20sure%20you%20hit%20%3CSTRONG%3EPublish%20All%3C%2FSTRONG%3E%20to%20publish%20the%20delete%20operations.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_27-1607996284379.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240595i740CD434D7A71533%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_27-1607996284379.png%22%20alt%3D%22saveenr_27-1607996284379.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EData%20Hub%20is%20open.%20Actions%20menu%20for%20BinaryDatasetForDeleteActivity%20dataset%20is%20selected.%20Delete%20command%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENavigate%20to%20the%20%3CSTRONG%3EManage%3C%2FSTRONG%3E%20Hub%20and%20list%20the%20%3CSTRONG%3Elinked%20services%3C%2FSTRONG%3E.%20From%20the%20list%20select%20%3CSTRONG%3EDelete%3C%2FSTRONG%3E%20for%20%3CSPAN%3Ebing-covid-19-data%3C%2FSPAN%3E.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_28-1607996284387.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240596i555BC6BC58A4E829%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_28-1607996284387.png%22%20alt%3D%22saveenr_28-1607996284387.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EManage%20Hub%20is%20open.%20The%20linked%20services%20section%20is%20selected.%20Delete%20command%20for%20bing-covid-19-data%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWithin%20the%20%3CSTRONG%3EManage%3C%2FSTRONG%3E%20hub%2C%20switch%20to%20%3CSTRONG%3EApache%20Spark%20pools%3C%2FSTRONG%3E%20list.%20Select%20%3CSTRONG%3EMore%3C%2FSTRONG%3E%20for%20the%20spark%20pool%20you%20created%20and%20hit%20%3CSTRONG%3EDelete%3C%2FSTRONG%3E%20to%20remove%20it.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_29-1607996284398.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240597i161510CDFB35A327%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_29-1607996284398.png%22%20alt%3D%22saveenr_29-1607996284398.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EManage%20Hub%20is%20open.%20Apache%20spark%20pools%20section%20is%20selected.%20Delete%20command%20for%20SampleSpark%20is%20highlighted.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20that%2C%20we%20deleted%20all%20we%20created%20so%20far.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--848014546%22%20id%3D%22toc-hId--848076052%22%3EConclusion%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhatever%20happens%20in%20Synapse%20can%20be%20monitored%20in%20the%20Monitor%20Hub.%20During%20our%20short%20journey%2C%20we%20ran%20and%20monitored%20a%20pipeline%2C%20SQL%20scripts%20and%20an%20Apache%20Spark%20notebook.%20Having%20the%20knowledge%20center%20with%20sample%20data%20sets%2C%20pipelines%20and%20notebooks%20definitely%20make%20a%20test%20run%20easy.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EGo%20ahead%2C%20try%20out%20this%20tutorial%20yourself%20today%20by%20creating%20an%20Azure%20Synapse%20workspace.%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Ffree%2Fsynapse-analytics%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ESign%20up%20for%20an%20Azure%20free%20account%3C%2FA%3E%20and%20receive%20%24200%20of%20credit%20to%20try%20Azure%20Synapse%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fsynapse-analytics%2Fquickstart-create-workspace%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECreate%20an%20Azure%20Synapse%20workspace%20in%20minutes%3C%2FA%3E%20to%20access%20these%20new%20features%3C%2FLI%3E%0A%3CLI%3EEmbark%20on%20your%20Azure%20Synapse%20self-study%20journey%20with%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FAzureLearn_SynapseAnalytics%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Learn%20materials%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3ECheck%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fsynapse-ga%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%20blog%20daily%20to%20see%20a%20roundup%20of%20all%20the%20new%20tutorial%20blogs%20that%3C%2FA%3E%20will%20be%20posted%20for%20the%20next%20two%20weeks.%20%26nbsp%3B%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_30-1607996284408.jpeg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240598iE5C25162F0ABEC15%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_30-1607996284408.jpeg%22%20alt%3D%22saveenr_30-1607996284408.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1987405%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20the%20Monitor%20Hub%20you%20can%20see%20a%20history%20of%20all%20the%20activities%20taking%20place%20in%20your%20workspace%20and%20which%20ones%20are%20active%20now.%20You%20can%20monitor%20pipelines%2C%20triggers%2C%20and%20Integration%20runtimes%20and%20Spark%20and%20SQL%20activities.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22saveenr_0-1607996393097.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F240599iF8CF47E046641228%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22saveenr_0-1607996393097.png%22%20alt%3D%22saveenr_0-1607996393097.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1987405%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESynapse%20Monitoring%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎Dec 15 2020 09:49 AM
Updated by: