Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14065#discussion_r72483453
  
    --- Diff: docs/running-on-yarn.md ---
    @@ -525,16 +534,22 @@ token for the cluster's HDFS filesystem, and 
potentially for HBase and Hive.
     
     An HBase token will be obtained if HBase is in on classpath, the HBase 
configuration declares
     the application is secure (i.e. `hbase-site.xml` sets 
`hbase.security.authentication` to `kerberos`),
    -and `spark.yarn.security.tokens.hbase.enabled` is not set to `false`.
    +and `spark.yarn.security.credentials.hbase.enabled` is not set to `false`.
     
     Similarly, a Hive token will be obtained if Hive is on the classpath, its 
configuration
     includes a URI of the metadata store in `"hive.metastore.uris`, and
    -`spark.yarn.security.tokens.hive.enabled` is not set to `false`.
    +`spark.yarn.security.credentials.hive.enabled` is not set to `false`.
     
     If an application needs to interact with other secure HDFS clusters, then
     the tokens needed to access these clusters must be explicitly requested at
     launch time. This is done by listing them in the 
`spark.yarn.access.namenodes` property.
     
    +Also Spark supports interacting with other security services through 
plug-in mechanism, user must implement
    --- End diff --
    
    Rephrase:
    
    Spark supports integrating with other security-aware services through the 
Java Services mechanism (see
    `java.util.ServiceLoader`). To do that, implementations of 
`org.apache.spark.deploy.yarn.security.ServiceCredentialProvider` should be 
made available to Spark by listing their  ames in the corresponding file in the 
jar's `META-INF/services` directory. These plug-ins can be disabled by 
setting...



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to