[jira] [Commented] (SPARK-28230) Fix Spark Streaming gracefully shutdown on Hadopp 2.8.x
[ https://issues.apache.org/jira/browse/SPARK-28230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16879780#comment-16879780 ] Hyukjin Kwon commented on SPARK-28230: -- It's not an issue in Spark but in Hadoop that's fixed in upstream. Ideally upper Hadoop version should be used instead. > Fix Spark Streaming gracefully shutdown on Hadopp 2.8.x > --- > > Key: SPARK-28230 > URL: https://issues.apache.org/jira/browse/SPARK-28230 > Project: Spark > Issue Type: Bug > Components: Spark Core, Structured Streaming >Affects Versions: 2.4.3 >Reporter: Burak KÖSE >Priority: Minor > > Gracefully shutdown is not properly working on Hadoop 2.8.x. Hadoop > introduces 10 seconds timeout by default. This is hardcoded and not something > that we can configure with Hadoop settings. > > [https://github.com/apache/hadoop/blob/branch-2.8.5/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ShutdownHookManager.java#L51] > > However, if we use > > {code:java} > public void addShutdownHook(Runnable shutdownHook, int priority, long > timeout, TimeUnit unit){code} > > in > [https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/ShutdownHookManager.scala#L180|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/ShutdownHookManager.scala#L180,] > problem might be solved. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-28230) Fix Spark Streaming gracefully shutdown on Hadopp 2.8.x
[ https://issues.apache.org/jira/browse/SPARK-28230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16876941#comment-16876941 ] Burak KÖSE commented on SPARK-28230: This is a problem for teams using cloud solutions, such as EMR. It comes with 2.8.5 for the latest version of Spark. Has 2.8.6 ever released? > Fix Spark Streaming gracefully shutdown on Hadopp 2.8.x > --- > > Key: SPARK-28230 > URL: https://issues.apache.org/jira/browse/SPARK-28230 > Project: Spark > Issue Type: Bug > Components: Spark Core, Structured Streaming >Affects Versions: 2.4.3 >Reporter: Burak KÖSE >Priority: Minor > > Gracefully shutdown is not properly working on Hadoop 2.8.x. Hadoop > introduces 10 seconds timeout by default. This is hardcoded and not something > that we can configure with Hadoop settings. > > [https://github.com/apache/hadoop/blob/branch-2.8.5/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ShutdownHookManager.java#L51] > > However, if we use > > {code:java} > public void addShutdownHook(Runnable shutdownHook, int priority, long > timeout, TimeUnit unit){code} > > in > [https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/ShutdownHookManager.scala#L180|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/ShutdownHookManager.scala#L180,] > problem might be solved. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-28230) Fix Spark Streaming gracefully shutdown on Hadopp 2.8.x
[ https://issues.apache.org/jira/browse/SPARK-28230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16876880#comment-16876880 ] Yuming Wang commented on SPARK-28230: - Hadoop 2.8.6 should support it. See HADOOP-15679 for more details. > Fix Spark Streaming gracefully shutdown on Hadopp 2.8.x > --- > > Key: SPARK-28230 > URL: https://issues.apache.org/jira/browse/SPARK-28230 > Project: Spark > Issue Type: Bug > Components: Spark Core, Structured Streaming >Affects Versions: 2.4.3 >Reporter: Burak KÖSE >Priority: Minor > > Gracefully shutdown is not properly working on Hadoop 2.8.x. Hadoop > introduces 10 seconds timeout by default. This is hardcoded and not something > that we can configure with Hadoop settings. > > [https://github.com/apache/hadoop/blob/branch-2.8.5/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ShutdownHookManager.java#L51] > > However, if we use > > {code:java} > public void addShutdownHook(Runnable shutdownHook, int priority, long > timeout, TimeUnit unit){code} > > in > [https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/ShutdownHookManager.scala#L180|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/ShutdownHookManager.scala#L180,] > problem might be solved. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org