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:38:00 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-31926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-31926:
------------------------------------

    Assignee: Apache Spark

> 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
>            Assignee: Apache Spark
>            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