You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "huanghuai (JIRA)" <ji...@apache.org> on 2018/09/25 15:44:00 UTC

[jira] [Updated] (SPARK-25523) Multi thread execute sparkSession.read().jdbc(url, table, properties) problem

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

huanghuai updated SPARK-25523:
------------------------------
    Summary: Multi thread execute sparkSession.read().jdbc(url, table, properties) problem  (was: Multithreading executive sparkSession.read().jdbc(url, table, properties) problem)

> Multi thread execute sparkSession.read().jdbc(url, table, properties) problem
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-25523
>                 URL: https://issues.apache.org/jira/browse/SPARK-25523
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>         Environment: h3. [IntelliJ _IDEA_|http://www.baidu.com/link?url=7ZLtsOfyqR1YxLqcTU0Q-hqXWV_PsY6IzIzZoKhiXZZ4AcLrpQ4DoTG30yIN-Gs8] 
> local mode
>  
>            Reporter: huanghuai
>            Priority: Major
>
> when i execute sparkSession.read().jdbc(url, table, properties) in 2 or 3 thread , it will be in limitless waiting.
>  
> I found it by debug step by step, and finally waited here: 
> JdbcRelationProvider.createRelation() method
> at line 34:
> val jdbcOptions = new JDBCOptions(parameters)
>  
> when I press F8, Spark did not run away.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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