artus opened a new issue #1936: MethodNotFoundException due to old Guava 
version.
URL: https://github.com/apache/bookkeeper/issues/1936
 
 
   This is a bug report.
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - We use the distributedlog-common library, which has a dependency on Guava 
21.0
   - We also use Guava 27.0.1 in our project ourselves (which has the 
distributedlog-common library as a dependency)
   - We try writing to a log in distributedlog.
   
   - We expect the record to be written.
   
   - An exception is thrown:
   
   > java.lang.NoSuchMethodError: 
com.google.common.util.concurrent.Futures.addCallback(Lcom/google/common/util/concurrent/ListenableFuture;Lcom/google/common/util/concurrent/FutureCallback;)V
        at 
org.apache.distributedlog.BKLogSegmentWriter.addComplete(BKLogSegmentWriter.java:1214)
 ~[distributedlog-core-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.client.AsyncCallback$AddCallback.addCompleteWithLatency(AsyncCallback.java:91)
 ~[bookkeeper-server-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.client.PendingAddOp.submitCallback(PendingAddOp.java:361) 
~[bookkeeper-server-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.client.LedgerHandle.sendAddSuccessCallbacks(LedgerHandle.java:1576)
 ~[bookkeeper-server-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.client.PendingAddOp.sendAddSuccessCallbacks(PendingAddOp.java:345)
 ~[bookkeeper-server-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.client.PendingAddOp.writeComplete(PendingAddOp.java:340) 
~[bookkeeper-server-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.proto.PerChannelBookieClient$AddCompletion.writeComplete(PerChannelBookieClient.java:1787)
 ~[bookkeeper-server-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.proto.PerChannelBookieClient$AddCompletion.handleResponse(PerChannelBookieClient.java:1844)
 ~[bookkeeper-server-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.proto.PerChannelBookieClient$AddCompletion.handleV3Response(PerChannelBookieClient.java:1833)
 ~[bookkeeper-server-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.proto.PerChannelBookieClient$3.safeRun(PerChannelBookieClient.java:1229)
 ~[bookkeeper-server-4.7.3.jar:4.7.3]
        at 
org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36) 
~[bookkeeper-common-4.7.3.jar:4.7.3]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[na:1.8.0_181]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[na:1.8.0_181]
        at 
io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
 [netty-all-4.1.22.Final.jar:4.1.22.Final]
        at java.lang.Thread.run(Thread.java:748) [na:1.8.0_181]

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to