You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "LuciferYang (via GitHub)" <gi...@apache.org> on 2023/05/17 06:36:14 UTC

[GitHub] [spark] LuciferYang commented on pull request #40925: [SPARK-43246][BUILD] Ignore `privateClasses` and `privateMembers` from connect mima check as default

LuciferYang commented on PR #40925:
URL: https://github.com/apache/spark/pull/40925#issuecomment-1550820753

   ```
   Error: Exception in thread "main" java.lang.IllegalArgumentException: Unsupported class file major version 61
   	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
   	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
   	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
   	at org.objectweb.asm.ClassReader.<init>(ClassReader.java:283)
   	at org.clapper.classutil.asm.ClassFile$.load(ClassFinderImpl.scala:222)
   	at org.clapper.classutil.ClassFinder.classData(ClassFinder.scala:404)
   	at org.clapper.classutil.ClassFinder.$anonfun$processOpenZip$2(ClassFinder.scala:359)
   	at scala.collection.Iterator$$anon$10.next(Iterator.scala:461)
   	at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:486)
   	at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:492)
   	at scala.collection.Iterator.toStream(Iterator.scala:1417)
   	at scala.collection.Iterator.toStream$(Iterator.scala:1416)
   	at scala.collection.AbstractIterator.toStream(Iterator.scala:1431)
   	at scala.collection.Iterator.$anonfun$toStream$1(Iterator.scala:1417)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1173)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1163)
   	at scala.collection.immutable.Stream.$anonfun$$plus$plus$1(Stream.scala:372)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1173)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1163)
   	at scala.collection.immutable.Stream.$anonfun$$plus$plus$1(Stream.scala:372)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1173)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1163)
   	at scala.collection.immutable.Stream.$anonfun$map$1(Stream.scala:418)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1173)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1163)
   	at scala.collection.immutable.Stream.filterImpl(Stream.scala:506)
   	at scala.collection.immutable.Stream$.$anonfun$filteredTail$1(Stream.scala:1260)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1173)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1163)
   	at scala.collection.immutable.Stream$.$anonfun$filteredTail$1(Stream.scala:1260)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1173)
   	at scala.collection.immutable.Stream$Cons.tail(Stream.scala:1163)
   	at scala.collection.generic.Growable.loop$1(Growable.scala:57)
   	at scala.collection.generic.Growable.$plus$plus$eq(Growable.scala:61)
   	at scala.collection.generic.Growable.$plus$plus$eq$(Growable.scala:53)
   	at scala.collection.immutable.Set$SetBuilderImpl.$plus$plus$eq(Set.scala:381)
   	at scala.collection.immutable.Set$SetBuilderImpl.$plus$plus$eq(Set.scala:329)
   	at scala.collection.TraversableLike.to(TraversableLike.scala:786)
   	at scala.collection.TraversableLike.to$(TraversableLike.scala:783)
   	at scala.collection.AbstractTraversable.to(Traversable.scala:108)
   	at scala.collection.TraversableOnce.toSet(TraversableOnce.scala:360)
   	at scala.collection.TraversableOnce.toSet$(TraversableOnce.scala:360)
   	at scala.collection.AbstractTraversable.toSet(Traversable.scala:108)
   	at org.apache.spark.tools.GenerateMIMAIgnore$.getClasses(GenerateMIMAIgnore.scala:[15](https://github.com/LuciferYang/spark/actions/runs/4998621687/jobs/8954833741#step:14:16)6)
   	at org.apache.spark.tools.GenerateMIMAIgnore$.privateWithin(GenerateMIMAIgnore.scala:57)
   	at org.apache.spark.tools.GenerateMIMAIgnore$.main(GenerateMIMAIgnore.scala:1[22](https://github.com/LuciferYang/spark/actions/runs/4998621687/jobs/8954833741#step:14:23))
   	at org.apache.spark.tools.GenerateMIMAIgnore.main(GenerateMIMAIgnore.scala)
   Error: Process completed with exit code 1.
   ```
   
   After rebase the code, the `connect-jvm-client-mima-check` will run failed as above, it seems that master branch has a dependency compiled by Java 17, let me investigate first.
   
   


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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