viirya opened a new pull request #3385:
URL: https://github.com/apache/hadoop/pull/3385


   Lz4 is a provided dependency. So in the shaded Hadoop libraries, e.g. 
hadoop-client-api, if we don't exclude lz4 dependency from relocation, the 
downstream will still see the exception even they include lz4 dependency.
   
   ```
   [info]   Cause: java.lang.ClassNotFoundException: 
org.apache.hadoop.shaded.net.jpountz.lz4.LZ4Factory
   [info]   at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
   [info]   at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
   [info]   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
   [info]   at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
   [info]   at 
org.apache.hadoop.io.compress.lz4.Lz4Compressor.<init>(Lz4Compressor.java:66)
   [info]   at 
org.apache.hadoop.io.compress.Lz4Codec.createCompressor(Lz4Codec.java:119)
   [info]   at 
org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:152)
   [info]   at 
org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:168)
    ```
   
   


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

Reply via email to