Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Remove dependencies on BK and ZK SNAPSHOTS
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomezferro committed Jan 24, 2012
1 parent 8a89f51 commit 1b1c477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions pom.xml
Expand Up @@ -103,16 +103,6 @@
<artifactId>log4j</artifactId>
<version>1.2.14</version>
</dependency>
<!-- dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>bookkeeper</artifactId>
<version>3.4.0</version>
</dependency>
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.4.0</version>
</dependency -->
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
Expand All @@ -130,13 +120,13 @@
<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>3.4.0-BK-SNAPSHOT</version>
<version>3.4.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.bookkeeper</groupId>
<artifactId>bookkeeper-server</artifactId>
<version>4.0.0-SNAPSHOT</version>
<version>4.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/yahoo/omid/tso/TSOServer.java
Expand Up @@ -222,7 +222,7 @@ public ChannelPipeline getPipeline() throws Exception {
private void recoverState() throws BKException, InterruptedException, KeeperException, IOException {
String servers = StringUtils.join(zkservers, ',');
ZooKeeper zooKeeper = new ZooKeeper(servers, 1000, null);
BookKeeper bookKeeper = new BookKeeper(zooKeeper);
BookKeeper bookKeeper = new BookKeeper(servers);

List<String> children = zooKeeper.getChildren("/ledgers", false);
children.remove("available");
Expand Down

0 comments on commit 1b1c477

Please sign in to comment.