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

2020-06-15 Thread Apache Spark (Jira)


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

Apache Spark commented on SPARK-31926:
--

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

> 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: Kent Yao
>Priority: Major
> Fix For: 3.0.1, 3.1.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2020-06-10 Thread Apache Spark (Jira)


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

Apache Spark commented on SPARK-31926:
--

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

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2020-06-10 Thread Dongjoon Hyun (Jira)


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

Dongjoon Hyun commented on SPARK-31926:
---

This is reverted because Maven test fails consistently.

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



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

2020-06-08 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-31926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org