Skip to content

Commit d2079a5

Browse files
authored
Update apache-spark-external-metastore.md
Acrolinx fixes
1 parent a7edd8f commit d2079a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/synapse-analytics/spark/apache-spark-external-metastore.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ If the underlying data of your Hive tables are stored in Azure Blob storage acco
161161
3. Provide **Name** of the linked service. Record the name of the linked service, this info will be used in Spark configuration shortly.
162162
4. Select the Azure Blob Storage account. Make sure Authentication method is **Account key**. Currently Spark pool can only access Blob Storage account via account key.
163163
5. **Test connection** and click **Create**.
164-
6. After creating the linked service to Blob Storage account, when you run Spark queries, make sure you run below Spark code in the notebook to get access to the the Blob Storage account for the Spark session. Learn more about why you need to do this [here](./apache-spark-secure-credentials-with-tokenlibrary.md).
164+
6. After creating the linked service to Blob Storage account, when you run Spark queries, make sure you run below Spark code in the notebook to get access to the Blob Storage account for the Spark session. Learn more about why you need to do this [here](./apache-spark-secure-credentials-with-tokenlibrary.md).
165165

166166
```python
167167
%%pyspark
@@ -190,7 +190,7 @@ After setting up storage connections, you can query the existing tables in the H
190190
No credentials found for account xxxxx.blob.core.windows.net in the configuration, and its container xxxxx is not accessible using anonymous credentials. Please check if the container exists first. If it is not publicly available, you have to provide account credentials.
191191
```
192192

193-
When use key authentication to your storage account via linked service, you need to take an extra step to get the token for Spark session. Run below code to configure your Spark session before running the query. Learn more about why you need to do this here.
193+
When using key authentication to your storage account via linked service, you need to take an extra step to get the token for Spark session. Run below code to configure your Spark session before running the query. Learn more about why you need to do this here.
194194

195195
```python
196196
%%pyspark
@@ -254,4 +254,4 @@ You can easily fix this issue by appending `/usr/hdp/current/hadoop-client/*` to
254254
```text
255255
Eg:
256256
spark.sql.hive.metastore.jars":"/opt/hive-metastore/lib-2.3/*:/usr/hdp/current/hadoop-client/lib/*:/usr/hdp/current/hadoop-client/*
257-
```
257+
```

0 commit comments

Comments
 (0)