Skip to content

Commit 1ab28d0

Browse files
committed
update the doc
1 parent c7ef15e commit 1ab28d0

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/security.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,17 @@ hadoop credential create spark.ssl.keyPassword -value password \
455455
-provider jceks://[email protected]:9001/user/backup/ssl.jceks
456456
```
457457

458-
In the meantime, adding configuration "hadoop.security.credential.provider.path=jceks://[email protected]:9001/user/backup/ssl.jceks"
459-
into Spark's Hadoop configuration to make it aware of credential provider path.
458+
To configure the location of the credential provider, set the `hadoop.security.credential.provider.path`
459+
config option in the Hadoop configuration used by Spark, like:
460+
461+
```
462+
<property>
463+
<name>hadoop.security.credential.provider.path</name>
464+
<value>jceks://[email protected]:9001/user/backup/ssl.jceks</value>
465+
</property>
466+
```
467+
468+
Or via SparkConf "spark.hadoop.hadoop.security.credential.provider.path=jceks://[email protected]:9001/user/backup/ssl.jceks".
460469

461470
## Preparing the key stores
462471

0 commit comments

Comments
 (0)