You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Igor Calabria (Jira)" <ji...@apache.org> on 2019/09/13 20:05:00 UTC

[jira] [Commented] (SPARK-27812) kubernetes client import non-daemon thread which block jvm exit.

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

Igor Calabria commented on SPARK-27812:
---------------------------------------

Hi everyone, I have added a simple PR [https://github.com/apache/spark/pull/25785] that fixes this. The SparkUncaughtExceptionHandler PR is not enough because the driver hangs even if there's no exception.

I have no idea if it's viable to merge this, but I'm providing the patch so people may have a quick fix before a better solution is agreed upon.

> kubernetes client import non-daemon thread which block jvm exit.
> ----------------------------------------------------------------
>
>                 Key: SPARK-27812
>                 URL: https://issues.apache.org/jira/browse/SPARK-27812
>             Project: Spark
>          Issue Type: Bug
>          Components: Kubernetes
>    Affects Versions: 2.4.3
>            Reporter: Henry Yu
>            Priority: Major
>
> I try spark-submit to k8s with cluster mode. Driver pod failed to exit with An Okhttp Websocket Non-Daemon Thread.
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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