Github user steveloughran commented on the pull request:

    https://github.com/apache/spark/pull/11033#issuecomment-179232563
  
    This now works: I've tested it by creating tokens, saving them to a file. 
pointing to in the env var then using spark-submit to bring up a cluster.
    
    For the curious, you need 2-3 tokens: HDFS, RM, and, if Yarn timeline 
server is enabled, a timeline server delegation token.
    
    ```
    Kind: HDFS_DELEGATION_TOKEN, Service: 192.168.56.101:8020, Ident: 
(HDFS_DELEGATION_TOKEN token 263 for stevel); HDFS_DELEGATION_TOKEN token 263 
for stevel Renewer: yarn Issued: 03/02/16 13:26 Max Date: 10/02/16 13:26
    Kind: RM_DELEGATION_TOKEN, Service: 192.168.56.101:8050, Ident: 
(owner=stevel@COTHAM, renewer=yarn, realUser=, issueDate=1454505993370, 
maxDate=1455110793370, sequenceNumber=5, masterKeyId=172); owner=stevel@COTHAM, 
renewer=yarn, realUser=, issueDate=1454505993370, maxDate=1455110793370, 
sequenceNumber=5, masterKeyId=172 Renewer: yarn Issued: 03/02/16 13:26 Max 
Date: 10/02/16 13:26
    Kind: TIMELINE_DELEGATION_TOKEN, Service: 192.168.56.101:8188, Ident: 
(owner=stevel, renewer=yarn, realUser=, issueDate=1454505993925, 
maxDate=1455110793925, sequenceNumber=4, masterKeyId=2); owner=stevel, 
renewer=yarn, realUser=, issueDate=1454505993925, maxDate=1455110793925, 
sequenceNumber=4, masterKeyId=2 Renewer: yarn Issued: 03/02/16 13:26 Max Date: 
10/02/16 13:26
    ```



---
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