You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/06/08 08:37:00 UTC

[jira] [Commented] (SPARK-31926) Fix concurrency issue for ThriftCLIService to getPortNumber

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

Apache Spark commented on SPARK-31926:
--------------------------------------

User 'yaooqinn' has created a pull request for this issue:
https://github.com/apache/spark/pull/28751

> Fix concurrency issue for ThriftCLIService to getPortNumber
> -----------------------------------------------------------
>
>                 Key: SPARK-31926
>                 URL: https://issues.apache.org/jira/browse/SPARK-31926
>             Project: Spark
>          Issue Type: Test
>          Components: SQL
>    Affects Versions: 3.0.0, 3.1.0
>            Reporter: Kent Yao
>            Priority: Major
>
> When org.apache.spark.sql.hive.thriftserver.HiveThriftServer2#startWithContext called,
> it starts ThriftCLIService in the background with a new Thread, at the same time we call ThriftCLIService.getPortNumber, we might not get the bound port if it's configured with 0. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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