turboFei commented on code in PR #3158:
URL: https://github.com/apache/celeborn/pull/3158#discussion_r2004897639


##########
client-spark/spark-3-shaded/pom.xml:
##########
@@ -77,6 +77,7 @@
               <include>io.netty:*</include>
               <include>org.apache.commons:commons-lang3</include>
               <include>org.roaringbitmap:RoaringBitmap</include>
+              <include>commons-io:commons-io</include>

Review Comment:
    
   
   
   To fix the class not found:
   ```
   Caused by: java.lang.NoClassDefFoundError: 
org/apache/celeborn/shaded/org/apache/commons/io/output/ByteArrayOutputStream
        at 
org.apache.spark.shuffle.celeborn.SparkShuffleManager.<init>(SparkShuffleManager.java:113)
        ... 20 more
   Caused by: java.lang.ClassNotFoundException: 
org.apache.celeborn.shaded.org.apache.commons.io.output.ByteArrayOutputStream
        at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:419)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:365)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:352)
   ```
   
   
   ```
   jar -tf 
client-spark/spark-3-shaded/target/celeborn-client-spark-3-shaded_2.12-0.6.0-SNAPSHOT.jar|grep
 org/apache/celeborn/shaded/org/apache/commons/io/output/ByteArrayOutputStream
   
org/apache/celeborn/shaded/org/apache/commons/io/output/ByteArrayOutputStream.class
   ```
   
   
   



-- 
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]

Reply via email to