[ 
https://issues.apache.org/jira/browse/SPARK-12316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15137000#comment-15137000
 ] 

Thomas Graves commented on SPARK-12316:
---------------------------------------

you say "endless cycle call" do you mean the application master hangs?  It 
seems like it should throw and if the application is done it should just exit 
anyway since the AM is just calling stop on it.    I just want to clarify what 
is happening because I assume even if you wait a minute you could still hit the 
same condition once when its tearing down.

> Stack overflow with endless call of `Delegation token thread` when 
> application end.
> -----------------------------------------------------------------------------------
>
>                 Key: SPARK-12316
>                 URL: https://issues.apache.org/jira/browse/SPARK-12316
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.6.0
>            Reporter: SaintBacchus
>            Assignee: SaintBacchus
>         Attachments: 20151210045149.jpg, 20151210045533.jpg
>
>
> When application end, AM will clean the staging dir.
> But if the driver trigger to update the delegation token, it will can't find 
> the right token file and then it will endless cycle call the method 
> 'updateCredentialsIfRequired'.
> Then it lead to StackOverflowError.
> !https://issues.apache.org/jira/secure/attachment/12779495/20151210045149.jpg!
> !https://issues.apache.org/jira/secure/attachment/12779496/20151210045533.jpg!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to