liviazhu-db commented on PR #49451:
URL: https://github.com/apache/spark/pull/49451#issuecomment-2588004720
> ```
> [info] - get, put, remove, commit, and all data iterator - with codec lz4
- with colFamiliesEnabled=true *** FAILED *** (157 milliseconds)
> [info] "[CANNOT_LOAD_STATE_STORE.UNCATEGORIZED] An error occurred during
loading state. SQLSTATE: 58030" did not contain "does not exist"
(StateStoreSuite.scala:1124)
> [info] org.scalatest.exceptions.TestFailedException:
> [info] at
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:472)
> [info] at
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:471)
> [info] at
org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1231)
> [info] at
org.scalatest.Assertions$AssertionsHelper.macroAssert(Assertions.scala:1295)
> [info] at
org.apache.spark.sql.execution.streaming.state.StateStoreSuiteBase.$anonfun$new$100(StateStoreSuite.scala:1124)
> [info] at
org.apache.spark.sql.execution.streaming.state.StateStoreSuiteBase.tryWithProviderResource(StateStoreSuite.scala:1764)
> [info] at
org.apache.spark.sql.execution.streaming.state.StateStoreSuiteBase.$anonfun$new$99(StateStoreSuite.scala:1092)
> [info] at
org.apache.spark.sql.execution.streaming.state.StateStoreSuiteBase.$anonfun$new$99$adapted(StateStoreSuite.scala:1091)
> [info] at
org.apache.spark.sql.execution.streaming.state.StateStoreCodecsTest.$anonfun$testWithAllCodec$4(StateStoreCompatibilitySuite.scala:72)
> [info] at
org.apache.spark.sql.catalyst.SQLConfHelper.withSQLConf(SQLConfHelper.scala:56)
> [info] at
org.apache.spark.sql.catalyst.SQLConfHelper.withSQLConf$(SQLConfHelper.scala:38)
> [info] at
org.apache.spark.sql.execution.streaming.state.StateStoreSuiteBase.withSQLConf(StateStoreSuite.scala:1082)
> [info] at
org.apache.spark.sql.execution.streaming.state.StateStoreCodecsTest.$anonfun$testWithAllCodec$3(StateStoreCompatibilitySuite.scala:72)
> [info] at
org.scalatest.enablers.Timed$$anon$1.timeoutAfter(Timed.scala:127)
> [info] at
org.scalatest.concurrent.TimeLimits$.failAfterImpl(TimeLimits.scala:282)
> [info] at
org.scalatest.concurrent.TimeLimits.failAfter(TimeLimits.scala:231)
> [info] at
org.scalatest.concurrent.TimeLimits.failAfter$(TimeLimits.scala:230)
> [info] at
org.apache.spark.SparkFunSuite.failAfter(SparkFunSuite.scala:69)
> [info] at
org.apache.spark.SparkFunSuite.$anonfun$test$2(SparkFunSuite.scala:155)
> ```
>
> It seems that the failed case is related to this pr?
Yes, I added the error handling incorrectly. Modified it to
Option(e.getCondition).exists(_.contains("CANNOT_LOAD_STATE_STORE")) instead,
should be correct now. Thanks for catching.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]