Skip to content

Commit

Permalink
[pulsar-broker] fix ClassCastException at ZkIsolatedBookieEnsemblePla…
Browse files Browse the repository at this point in the history
…cementPolicy (apache#3917)
  • Loading branch information
rdhabalia authored Mar 27, 2019
1 parent 9b032a1 commit 82166d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public BookKeeper create(ServiceConfiguration conf, ZooKeeper zkClient) throws I
if (!clientIsolationZkCache.compareAndSet(null, zkc)) {
zkc.stop();
}
bkConf.setProperty(ZooKeeperCache.ZK_CACHE_INSTANCE, this.clientIsolationZkCache);
bkConf.setProperty(ZooKeeperCache.ZK_CACHE_INSTANCE, this.clientIsolationZkCache.get());
}
}

Expand Down

0 comments on commit 82166d0

Please sign in to comment.