gianm commented on issue #8177: Update to Curator 4.2.0, ZooKeeper 3.4.14.
URL: https://github.com/apache/incubator-druid/pull/8177#issuecomment-515715161
 
 
   The test failures look suspicious. There is no such method as `ByteBuffer 
position(int)` in `java.nio.ByteBuffer` in Java 8, which is what the error 
message is referring to. I wonder if the curator-framework jar was built with 
JDK 9+ (unintentionally? since I don't think they intended to drop Java 8 
support).
   
   ```
   [ERROR] testSanity(org.apache.druid.curator.announcement.AnnouncerTest)  
Time elapsed: 1.158 s  <<< ERROR!
   java.lang.NoSuchMethodError: 
java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
        at 
org.apache.curator.framework.imps.GzipCompressionProvider.skip(GzipCompressionProvider.java:319)
        at 
org.apache.curator.framework.imps.GzipCompressionProvider.doReadHeader(GzipCompressionProvider.java:290)
        at 
org.apache.curator.framework.imps.GzipCompressionProvider.readGzipHeader(GzipCompressionProvider.java:273)
        at 
org.apache.curator.framework.imps.GzipCompressionProvider.decompress(GzipCompressionProvider.java:195)
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to