apache / distributedlog

Apache DistributedLog
Apache License 2.0
185 stars 74 forks source link

DistributionSchedule.WriteSet cannot be converted to List #233

Closed zhaijack closed 7 years ago

zhaijack commented 7 years ago

BUG REPORT

  1. Please describe the issue you observed:

run the ci job

ci job should be able to build successfully

[INFO] -------------------------------------------------------------
[ERROR] <https://builds.apache.org/job/distributedlog-release-nightly-snapshot/ws/distributedlog-core/src/main/java/org/apache/bookkeeper/client/LedgerReader.java>:[89,69] incompatible types: org.apache.bookkeeper.client.DistributionSchedule.WriteSet cannot be converted to java.util.List<java.lang.Integer>
[ERROR] <https://builds.apache.org/job/distributedlog-release-nightly-snapshot/ws/distributedlog-core/src/main/java/org/apache/bookkeeper/client/LedgerReader.java>:[184,69] incompatible types: org.apache.bookkeeper.client.DistributionSchedule.WriteSet cannot be converted to java.util.List<java.lang.Integer>
[INFO] 2 errors
zhaijack commented 7 years ago

The problem comes from a recent change in apache/bookkeeper#657. The structure of write set has been changed.

sijie commented 7 years ago

this is already merged by #235