Skip to content

Commit f65eb3c

Browse files
authored
Merge pull request #300149 from Lucky-Wang16/0521-Update_Spark
Add enableServerCertificateValidation property to Spark
2 parents 4d80edc + 604724d commit f65eb3c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

articles/data-factory/connector-spark.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: jianleishen
77
ms.subservice: data-movement
88
ms.topic: conceptual
99
ms.custom: synapse
10-
ms.date: 03/26/2025
10+
ms.date: 05/21/2025
1111
---
1212

1313
# Copy data from Spark using Azure Data Factory or Synapse Analytics
@@ -81,14 +81,15 @@ The following properties are supported for Spark linked service version 2.0 (Pre
8181
| type | The type property must be set to: **Spark** | Yes |
8282
| version | The version that you specify. The value is `2.0`. | Yes |
8383
| host | IP address or host name of the Spark server | Yes |
84-
| port | The TCP port that the Spark server uses to listen for client connections. If you connect to Azure HDInsights, specify port as 443. | Yes |
84+
| port | The TCP port that the Spark server uses to listen for client connections. If you connect to Azure HDInsight, specify port as 443. | Yes |
8585
| serverType | The type of Spark server. <br/>The allowed value is: **SparkThriftServer** | No |
8686
| thriftTransportProtocol | The transport protocol to use in the Thrift layer. <br/>The allowed value is: **HTTP** | No |
8787
| authenticationType | The authentication method used to access the Spark server. <br/>Allowed values are: **Anonymous**, **UsernameAndPassword**, **WindowsAzureHDInsightService** | Yes |
8888
| username | The user name that you use to access Spark Server. | No |
8989
| password | The password corresponding to the user. Mark this field as a SecureString to store it securely, or [reference a secret stored in Azure Key Vault](store-credentials-in-key-vault.md). | No |
9090
| httpPath | The partial URL corresponding to the Spark server. | No |
9191
| enableSsl | Specifies whether the connections to the server are encrypted using TLS. The default value is true. | No |
92+
| enableServerCertificateValidation | Specify whether to enable server SSL certificate validation when you connect. <br>Always use System Trust Store. The default value is true. | No |
9293
| connectVia | The [Integration Runtime](concepts-integration-runtime.md) to be used to connect to the data store. Learn more from [Prerequisites](#prerequisites) section. If not specified, it uses the default Azure Integration Runtime. |No |
9394

9495
**Example:**
@@ -121,7 +122,7 @@ The following properties are supported for Spark linked service version 1.0:
121122
|:--- |:--- |:--- |
122123
| type | The type property must be set to: **Spark** | Yes |
123124
| host | IP address or host name of the Spark server | Yes |
124-
| port | The TCP port that the Spark server uses to listen for client connections. If you connect to Azure HDInsights, specify port as 443. | Yes |
125+
| port | The TCP port that the Spark server uses to listen for client connections. If you connect to Azure HDInsight, specify port as 443. | Yes |
125126
| serverType | The type of Spark server. <br/>Allowed values are: **SharkServer**, **SharkServer2**, **SparkThriftServer** | No |
126127
| thriftTransportProtocol | The transport protocol to use in the Thrift layer. <br/>Allowed values are: **Binary**, **SASL**, **HTTP** | No |
127128
| authenticationType | The authentication method used to access the Spark server. <br/>Allowed values are: **Anonymous**, **Username**, **UsernameAndPassword**, **WindowsAzureHDInsightService** | Yes |
@@ -275,7 +276,7 @@ The Spark connector version 2.0 (Preview) offers new functionalities and is comp
275276
| SharkServer and SharkServer2 are not supported for `serverType`. | Support SharkServer and SharkServer2 for `serverType`. |
276277
| Binary and SASL are not supported for `thriftTransportProtocl`. | Support Binary and SASL for `thriftTransportProtocl`. |
277278
| Username authentication type is not supported. | Support Username authentication type. |
278-
| The default value of `enableSSL` is true. `trustedCertPath`, `useSystemTrustStore`, `allowHostNameCNMismatch` and `allowSelfSignedServerCert` are not supported.| The default value of `enableSSL` is false. Additionally, support `trustedCertPath`, `useSystemTrustStore`, `allowHostNameCNMismatch` and `allowSelfSignedServerCert`. |
279+
| The default value of `enableSSL` is true. `trustedCertPath`, `useSystemTrustStore`, `allowHostNameCNMismatch` and `allowSelfSignedServerCert` are not supported. <br><br> `enableServerCertificateValidation` is supported. | The default value of `enableSSL` is false. Additionally, support `trustedCertPath`, `useSystemTrustStore`, `allowHostNameCNMismatch` and `allowSelfSignedServerCert`. <br><br>`enableServerCertificateValidation` is not supported. |
279280
| The following mappings are used from Spark data types to interim service data types used by the service internally.<br><br>TimestampType -> DateTimeOffset <br>YearMonthIntervalType -> String<br>DayTimeIntervalType -> String | The following mappings are used from Spark data types to interim service data types used by the service internally.<br><br>TimestampType -> DateTime<br>Other mappings supported by version 2.0 (Preview) listed left are not supported by version 1.0. |
280281

281282
## Related content
-5.07 KB
Loading

0 commit comments

Comments
 (0)