Skip to content

Commit c91721f

Browse files
committed
Fix minor PR bugs . . .
1 parent 726343f commit c91721f

File tree

4 files changed

+21
-16
lines changed

4 files changed

+21
-16
lines changed

articles/machine-learning/.openpublishing.redirection.machine-learning.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
{
22
"redirections": [
33
{
4-
"source_path_from_root": "/articles/machine-learning/how-to-train-with-custom-image.md",
5-
"redirect_url": "/azure/machine-learning/v1/how-to-train-with-custom-image",
6-
"redirect_document_id": true
4+
"source_path_from_root": "/articles/machine-learning/quickstart-spark-data-wrangling.md",
5+
"redirect_url": "/articles/machine-learning/apache-spark-environment-configuration.md",
6+
"redirect_document_id": true
7+
},
8+
{
9+
"source_path_from_root": "/articles/machine-learning/how-to-train-with-custom-image.md",
10+
"redirect_url": "/azure/machine-learning/v1/how-to-train-with-custom-image",
11+
"redirect_document_id": true
712
},
813
{
914
"source_path_from_root": "/articles/machine-learning/how-to-monitor-tensorboard.md",

articles/machine-learning/apache-spark-environment-configuration.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ In this quickstart guide, you learn how to perform interactive data wrangling us
2828
1. Navigate to the Azure Machine Learning studio UI
2929
2. In the icon section at the top right of the screen, select **Manage preview features** (megaphone icon)
3030
3. In the **Managed preview feature** panel, toggle the **Run notebooks and jobs on managed Spark** feature to **on**
31-
:::image type="content" source="media/quickstart-spark-data-wrangling/how-to-enable-managed-spark-preview.png" lightbox="media/quickstart-spark-data-wrangling/how-to-enable-managed-spark-preview.png" alt-text="Screenshot showing the option to enable the Managed Spark preview.":::
31+
:::image type="content" source="media/apache-spark-environment-configuration/how-to-enable-managed-spark-preview.png" lightbox="media/quickstart-spark-data-wrangling/how-to-enable-managed-spark-preview.png" alt-text="Screenshot showing the option to enable the Managed Spark preview.":::
3232

3333
## Store Azure storage account credentials as secrets in Azure Key Vault
3434

@@ -38,12 +38,12 @@ To store Azure storage account credentials as secrets in the Azure Key Vault usi
3838
1. Select **Secrets** from the left panel.
3939
1. Select **+ Generate/Import**.
4040

41-
:::image type="content" source="media/interactive-data-wrangling-with-apache-spark-azure-ml/azure-key-vault-secrets-generate-import.png" alt-text="Screenshot showing the Azure Key Vault Secrets Generate Or Import tab.":::
41+
:::image type="content" source="media/apache-spark-environment-configuration/azure-key-vault-secrets-generate-import.png" alt-text="Screenshot showing the Azure Key Vault Secrets Generate Or Import tab.":::
4242

4343
1. At the **Create a secret** screen, enter a **Name** for the secret you want to create.
4444
1. Navigate to Azure Blob Storage Account, in the Azure portal, as seen in this image:
4545

46-
:::image type="content" source="media/interactive-data-wrangling-with-apache-spark-azure-ml/storage-account-access-keys.png" alt-text="Screenshot showing the Azure access key and connection string values screen.":::
46+
:::image type="content" source="media/apache-spark-environment-configuration/storage-account-access-keys.png" alt-text="Screenshot showing the Azure access key and connection string values screen.":::
4747
1. Select **Access keys** from the Azure Blob Storage Account page left panel.
4848
1. Select **Show** next to **Key 1**, and then **Copy to clipboard** to get the storage account access key.
4949
> [!Note]
@@ -59,7 +59,7 @@ To store Azure storage account credentials as secrets in the Azure Key Vault usi
5959
1. In the **Secret value** textbox, enter the access key credential for the Azure storage account, which was copied to the clipboard in the earlier step.
6060
1. Select **Create**.
6161

62-
:::image type="content" source="media/interactive-data-wrangling-with-apache-spark-azure-ml/create-a-secret.png" alt-text="Screenshot showing the Azure secret creation screen.":::
62+
:::image type="content" source="media/apache-spark-environment-configuration/create-a-secret.png" alt-text="Screenshot showing the Azure secret creation screen.":::
6363

6464
> [!TIP]
6565
> [Azure CLI](../key-vault/secrets/quick-create-cli.md) and [Azure Key Vault secret client library for Python](../key-vault/secrets/quick-create-python.md#sign-in-to-azure) can also create Azure Key Vault secrets.
@@ -76,21 +76,21 @@ assign **Reader** and **Storage Blob Data Reader** roles to the user identity of
7676
1. Open the [Microsoft Azure portal](https://portal.azure.com).
7777
1. Search and select the **Storage accounts** service.
7878

79-
:::image type="content" source="media/quickstart-spark-data-wrangling/find-storage-accounts-service.png" lightbox="media/quickstart-spark-data-wrangling/find-storage-accounts-service.png" alt-text="Expandable screenshot showing Storage accounts service search and selection, in Microsoft Azure portal.":::
79+
:::image type="content" source="media/apache-spark-environment-configuration/find-storage-accounts-service.png" lightbox="media/quickstart-spark-data-wrangling/find-storage-accounts-service.png" alt-text="Expandable screenshot showing Storage accounts service search and selection, in Microsoft Azure portal.":::
8080

8181
1. On the **Storage accounts** page, select the Azure Data Lake Storage (ADLS) Gen 2 storage account from the list. A page showing the storage account **Overview** will open.
8282

83-
:::image type="content" source="media/quickstart-spark-data-wrangling/storage-accounts-list.png" lightbox="media/quickstart-spark-data-wrangling/storage-accounts-list.png" alt-text="Expandable screenshot showing selection of the Azure Data Lake Storage (ADLS) Gen 2 storage account Storage account.":::
83+
:::image type="content" source="media/apache-spark-environment-configuration/storage-accounts-list.png" lightbox="media/quickstart-spark-data-wrangling/storage-accounts-list.png" alt-text="Expandable screenshot showing selection of the Azure Data Lake Storage (ADLS) Gen 2 storage account Storage account.":::
8484

8585
1. Select **Access Control (IAM)** from the left panel
8686
1. Select **Add role assignment**
8787

88-
:::image type="content" source="media/quickstart-spark-data-wrangling/storage-account-add-role-assignment.png" lightbox="media/quickstart-spark-data-wrangling/storage-account-add-role-assignment.png" alt-text="Screenshot showing the Azure access keys screen.":::
88+
:::image type="content" source="media/apache-spark-environment-configuration/storage-account-add-role-assignment.png" lightbox="media/quickstart-spark-data-wrangling/storage-account-add-role-assignment.png" alt-text="Screenshot showing the Azure access keys screen.":::
8989

9090
1. Find and select role **Storage Blob Data Contributor**
9191
1. Select **Next**
9292

93-
:::image type="content" source="media/quickstart-spark-data-wrangling/add-role-assignment-choose-role.png" lightbox="media/quickstart-spark-data-wrangling/add-role-assignment-choose-role.png" alt-text="Screenshot showing the Azure add role assignment screen.":::
93+
:::image type="content" source="media/apache-spark-environment-configuration/add-role-assignment-choose-role.png" lightbox="media/quickstart-spark-data-wrangling/add-role-assignment-choose-role.png" alt-text="Screenshot showing the Azure add role assignment screen.":::
9494

9595
1. Select **User, group, or service principal**.
9696
1. Select **+ Select members**.
@@ -99,11 +99,11 @@ assign **Reader** and **Storage Blob Data Reader** roles to the user identity of
9999
1. Select the appropriate user identity
100100
1. Select **Next**
101101

102-
:::image type="content" source="media/quickstart-spark-data-wrangling/add-role-assignment-choose-members.png" lightbox="media/quickstart-spark-data-wrangling/add-role-assignment-choose-members.png" alt-text="Screenshot showing the Azure add role assignment screen Members tab.":::
102+
:::image type="content" source="media/apache-spark-environment-configuration/add-role-assignment-choose-members.png" lightbox="media/quickstart-spark-data-wrangling/add-role-assignment-choose-members.png" alt-text="Screenshot showing the Azure add role assignment screen Members tab.":::
103103

104104
1. Select **Review + Assign**
105105

106-
:::image type="content" source="media/quickstart-spark-data-wrangling/add-role-assignment-review-and-assign.png" lightbox="media/quickstart-spark-data-wrangling/add-role-assignment-review-and-assign.png" alt-text="Screenshot showing the Azure add role assignment screen review and assign tab.":::
106+
:::image type="content" source="media/apache-spark-environment-configuration/add-role-assignment-review-and-assign.png" lightbox="media/quickstart-spark-data-wrangling/add-role-assignment-review-and-assign.png" alt-text="Screenshot showing the Azure add role assignment screen review and assign tab.":::
107107
1. Repeat steps 2-13 for **Contributor** role assignment.
108108

109109
Once the user identity has the appropriate roles assigned, data in the Azure storage account should become accessible.

articles/machine-learning/interactive-data-wrangling-with-apache-spark-azure-ml.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ To start interactive data wrangling with the user identity passthrough:
135135
To wrangle data by access through a service principal:
136136

137137
1. Verify that the service principal has **Contributor** and **Storage Blob Data Contributor** [role assignments](./apache-spark-environment-configuration.md#add-role-assignments-in-azure-storage-accounts) in the Azure Data Lake Storage (ADLS) Gen 2 storage account.
138-
1. [Create Azure Key Vault secrets](#store-azure-storage-account-credentials-as-secrets-in-azure-key-vault) for the service principal tenant ID, client ID and client secret values.
138+
1. [Create Azure Key Vault secrets](./apache-spark-environment-configuration.md#store-azure-storage-account-credentials-as-secrets-in-azure-key-vault) for the service principal tenant ID, client ID and client secret values.
139139
1. Select Managed (Automatic) Spark compute **Azure Machine Learning Spark Compute** under **Azure Machine Learning Spark** from the **Compute** selection menu, or select an attached Synapse Spark pool under **Synapse Spark pool (Preview)** from the **Compute** selection menu
140140
1. To set the service principal tenant ID, client ID and client secret in the configuration, execute the following code sample.
141141
- The `get_secret()` call in the code depends on name of the Azure Key Vault, and the names of the Azure Key Vault secrets created for the service principal tenant ID, client ID and client secret. The corresponding property name/values to set in the configuration are as follows:
@@ -181,7 +181,7 @@ To wrangle data by access through a service principal:
181181

182182
### Import and wrangle data from Azure Blob storage
183183

184-
You can access Azure Blob storage data with either the storage account access key or a shared access signature (SAS) token. You should [store these credentials in the Azure Key Vault as a secret](#store-azure-storage-account-credentials-as-secrets-in-azure-key-vault), and set them as properties in the session configuration.
184+
You can access Azure Blob storage data with either the storage account access key or a shared access signature (SAS) token. You should [store these credentials in the Azure Key Vault as a secret](./apache-spark-environment-configuration.md#store-azure-storage-account-credentials-as-secrets-in-azure-key-vault), and set them as properties in the session configuration.
185185

186186
To start interactive data wrangling:
187187
1. At the Azure Machine Learning studio left panel, select **Notebooks**.

articles/machine-learning/quickstart-spark-jobs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ First, upload the parameterized Python code `titanic.py` to the Azure Blob stora
329329

330330
## Next steps
331331
- [Apache Spark in Azure Machine Learning (preview)](./apache-spark-azure-ml-concepts.md)
332-
- [Quickstart: Interactive Data Wrangling with Apache Spark (preview)](./quickstart-spark-data-wrangling.md)
332+
- [Quickstart: Interactive Data Wrangling with Apache Spark (preview)](./apache-spark-environment-configuration.md)
333333
- [Attach and manage a Synapse Spark pool in Azure Machine Learning (preview)](./how-to-manage-synapse-spark-pool.md)
334334
- [Interactive Data Wrangling with Apache Spark in Azure Machine Learning (preview)](./interactive-data-wrangling-with-apache-spark-azure-ml.md)
335335
- [Submit Spark jobs in Azure Machine Learning (preview)](./how-to-submit-spark-jobs.md)

0 commit comments

Comments
 (0)