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

Sean Owen commented on SPARK-20276:
-----------------------------------

Is this code cloned from Hive? if so it might not be worth customizing it.

Otherwise, there's already a pool executing this thread. Are you proposing to 
make it a ScheduleExecutorService?

> ScheduleExecutorService control sleep interval 
> -----------------------------------------------
>
>                 Key: SPARK-20276
>                 URL: https://issues.apache.org/jira/browse/SPARK-20276
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: darion yaphet
>            Priority: Minor
>
> The SessionManager startup timeout checker periodicity . We can using 
> ScheduleExecutorService to control time interval and to replacement 
> Thread.sleep . It's seem seay and elegant . 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to