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

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

Kent Yao created SPARK-31926:
--------------------------------

             Summary: 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


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