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

    https://github.com/apache/spark/pull/11033#discussion_r55574388
  
    --- Diff: 
yarn/src/main/scala/org/apache/spark/deploy/yarn/YarnSparkHadoopUtil.scala ---
    @@ -326,6 +330,65 @@ class YarnSparkHadoopUtil extends SparkHadoopUtil {
         }
       }
     
    +  /**
    +   * Are the credentials supplied by the environment, rather than a TGT or 
keytab?
    +   * This predicate will always return true in a YARN AM, as the relevant 
env var is
    +   * always set (it is used to pass down the AM/RM token). In the client, 
if it is true
    +   * it means that the application was launched in an Oozie workflow (or 
similar) with
    +   * all tokens created in advance.
    +   * @return the path to a credentials file if that is where the 
credentials came from
    +   */
    +  def environmentCredentialsFile() : Option[File] = {
    --- End diff --
    
    no, looks like I got something wrong during some cherry picking


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to