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

Hyukjin Kwon resolved SPARK-43173.
----------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

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

> `write jdbc` in `ClientE2ETestSuite` will test fail with out `-Phive`
> ---------------------------------------------------------------------
>
>                 Key: SPARK-43173
>                 URL: https://issues.apache.org/jira/browse/SPARK-43173
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect, Tests
>    Affects Versions: 3.5.0
>            Reporter: Yang Jie
>            Assignee: Yang Jie
>            Priority: Minor
>             Fix For: 3.5.0
>
>
> both
> ```
> build/mvn clean install -Dtest=none 
> -DwildcardSuites=org.apache.spark.sql.ClientE2ETestSuite   
> ```
> and 
> ```
> build/sbt "connect-client-jvm/testOnly *ClientE2ETestSuite"
> ```
>  
> will test failed when using Java 11&17 
>  
> {code:java}
> - write jdbc *** FAILED ***
>   io.grpc.StatusRuntimeException: INTERNAL: No suitable driver
>   at io.grpc.Status.asRuntimeException(Status.java:535)
>   at 
> io.grpc.stub.ClientCalls$BlockingResponseStream.hasNext(ClientCalls.java:660)
>   at 
> scala.collection.convert.Wrappers$JIteratorWrapper.hasNext(Wrappers.scala:45)
>   at scala.collection.Iterator.foreach(Iterator.scala:943)
>   at scala.collection.Iterator.foreach$(Iterator.scala:943)
>   at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
>   at org.apache.spark.sql.SparkSession.execute(SparkSession.scala:458)
>   at 
> org.apache.spark.sql.DataFrameWriter.executeWriteOperation(DataFrameWriter.scala:257)
>   at 
> org.apache.spark.sql.DataFrameWriter.saveInternal(DataFrameWriter.scala:221)
>   at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:218) 
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to