Describe the bug
Should clean up unused and duplicated 'spark3xx/META-INF/versions/11/org/roaringbitmap/' folder in the spark3xx shims,
we've had the same in ./spark-shared/com/nvidia/shaded/spark/org/roaringbitmap/ folder in the dist jar
13:05:04 java.lang.IllegalStateException: Can't add different class with same name: com/nvidia/shaded/spark/org/roaringbitmap/ArraysShim
13:05:04 at org.jacoco.core.analysis.CoverageBuilder.visitCoverage(CoverageBuilder.java:106)
13:05:04 at org.jacoco.core.analysis.Analyzer$1.visitEnd(Analyzer.java:99)
13:05:04 at org.objectweb.asm.ClassVisitor.visitEnd(ClassVisitor.java:377)
13:05:04 at org.jacoco.core.internal.flow.ClassProbesAdapter.visitEnd(ClassProbesAdapter.java:100)
13:05:04 at org.objectweb.asm.ClassReader.accept(ClassReader.java:725)
13:05:04 at org.objectweb.asm.ClassReader.accept(ClassReader.java:401)
13:05:04 at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:116)
13:05:04 at org.jacoco.core.analysis.Analyzer.analyzeClass(Analyzer.java:132)
13:05:04 Caused: java.io.IOException: Error while analyzing /var/jenkins/jobs/rapids_premerge-github/builds/9737/jacoco/classes/org/roaringbitmap/ArraysShim.class.
13:05:04 at org.jacoco.core.analysis.Analyzer.analyzerError(Analyzer.java:162)
Describe the bug Should clean up unused and duplicated 'spark3xx/META-INF/versions/11/org/roaringbitmap/' folder in the spark3xx shims, we've had the same in ./spark-shared/com/nvidia/shaded/spark/org/roaringbitmap/ folder in the dist jar
Besides, the duplicated files in
roaringbitmap/
will cause errors like jacocodifferent class with same name
: https://github.com/NVIDIA/spark-rapids/blob/branch-24.08/jenkins/Jenkinsfile-blossom.premerge#L196-L200