[VL] Flaky tests on arrow types

Open
#13,394 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
scala, spark
Domain
backend, testing

Research direction

Start with the linked GitHub Actions run and inspect the failing Query q17 job output. Trace the initialization failure from SparkArrowUtil.scala:166, where Arrow Schema is converted, and check whether the Arrow type tests reproduce it. Done means the flaky failure is understood and the relevant test passes reliably.

Written by the indexing model from the issue text.

Description

https://github.com/apache/gluten/actions/runs/39431617373/job/118669167331?pr=13376

Query q17 failed by error: org.apache.spark.SparkException: Job aborted due to stage failure: Task 12 in stage 86.0 failed 1 times, most recent failure: Lost task 12.0 in stage 86.0 (TID 813) (20a54f505fa9 executor driver): java.lang.NoClassDefFoundError: Could not initialize class org.apache.arrow.vector.types.pojo.Schema
    	at org.apache.spark.sql.utils.SparkArrowUtil$.toArrowSchema(SparkArrowUtil.scala:166)
    	at org.apache.spark.sql.execution.ColumnarBuildSideRelation.buildHashTable(ColumnarBuildSideRelation.scala:189)
    	at org.apache.gluten.execution.VeloxBroadcastBuildSideCache$.$anonfun$getOrBuildBroadcastHashTable$1(VeloxBroadcastBuildSideCache.scala:96)
    	at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2406)
    	at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
    	at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2404)
    	at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2387)
    	at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)
    	at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62)
    	at org.apache.gluten.execution.VeloxBroadcastBuildSideCache$.getOrBuildBroadcastHashTable(VeloxBroadcastBuildSideCache.scala:93)
    	at org.apache.gluten.execution.VeloxBroadcastBuildSideRDD.genBroadcastBuildSideIterator(VeloxBroadcastBuildSideRDD.scala:66)
    	at org.apache.gluten.execution.ColumnarInputRDDsWrapper.$anonfun$getIterators$1(WholeStageTransformer.scala:508)
    	at scala.collection.immutable.List.flatMap(List.scala:366)
    	at org.apache.gluten.execution.ColumnarInputRDDsWrapper.getIterators(WholeStageTransformer.scala:506)
    	at org.apache.gluten.execution.GlutenWholeStageColumnarRDD.$anonfun$compute$1(GlutenWholeStageColumnarRDD.scala:77)
    	at org.apache.gluten.utils.Arm$.withResource(Arm.scala:25)
    	at org.apache.gluten.metrics.GlutenTimeMetric$.millis(GlutenTimeMetric.scala:37)
    	at org.apache.gluten.execution.GlutenWholeStageColumnarRDD.compute(GlutenWholeStageColumnarRDD.scala:69)
Dominant language
Scala
Stars
1.6k
Forks
679
Avg merge
4d 16h
Merged PRs (30d)
84

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/gluten

All issues in apache/gluten

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.