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

Sean Owen resolved SPARK-16226.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.1.0

Issue resolved by pull request 14054
[https://github.com/apache/spark/pull/14054]

> Weaken JDBC isolation level to avoid locking when writing partitions
> --------------------------------------------------------------------
>
>                 Key: SPARK-16226
>                 URL: https://issues.apache.org/jira/browse/SPARK-16226
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.6.2
>            Reporter: lihongli
>            Assignee: Sean Owen
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> In the file  
> spark/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/JdbcUtils.scala,we
>  have the method savePartition().We can create JDBC connection with each 
> partition.But when I insert data to my relational DB,it is blocked.I found 
> that we commit once in a partition.Then I changed it.I commit   
>  after executeBatch() and my code worked properly.I did not know how it 
> performed in NoSQL database,but it does have a problem in my relational DB.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to