Skip to content
This repository
Browse code

Use temporary repo for {zoo,book}keeper

  • Loading branch information...
commit eb791da99beb3af5ed6dedb14dd2b13f646a4014 1 parent 2e435f5
Daniel Gómez Ferro dgomezferro authored

Showing 3 changed files with 22 additions and 92 deletions. Show diff stats Hide diff stats

  1. +0 78 README
  2. +2 10 README.md
  3. +20 4 pom.xml
78 README
... ... @@ -1,78 +0,0 @@
1   -* Dependencies
2   - - Netty
3   - - log4j
4   - - ZooKeeper
5   - - HBase
6   -
7   -* Compilation
8   -
9   -Omid uses Maven for its build system. The versions
10   -of zookeeper and bookkeeper are missing from mvn, so you have to
11   -manually install these dependencies.
12   -
13   -To install zookeeper:
14   - $ mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=zookeeper -Dversion=3.4.0 -Dpackaging=jar -Dfile=zookeeper-3.4.0.jar
15   -
16   -To install bookkeeper:
17   - $ mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=bookkeeper -Dversion=3.4.0 -Dpackaging=jar -Dfile=bookkeeper-3.4.0.jar
18   -
19   -Then to compile omid:
20   - $ tar jxvf omid-1.0-SNAPSHOT.tar.bz2
21   - $ cd omid-1.0-SNAPSHOT
22   - $ mvn install
23   -
24   -Tests should run cleanly.
25   -
26   -* Running
27   -
28   -You need to run four components before running the transactional
29   -client. They are bookkeeper, zookeeper, omid tso and
30   -hbase. Bookkeeper is needed by the TSO. Zookeeper is needed by
31   -bookkeeper and hbase. The TSO is needed by hbase. Hence, the order of
32   -starting should be:
33   - 1. Zookeeper
34   - 2. Bookkeeper
35   - 3. TSO
36   - 4. Hbase
37   -
38   -** Zookeeper & Bookkeeper
39   -For simplicity we've included a utility script which starts zookeeper
40   -and bookkeeper. Run:
41   -
42   - $ bin/omid.sh bktest
43   -
44   -Omid doesn't use anything special in zookeeper or bookkeeper, so you
45   -can use any install for these. However, if you are running this
46   -anywhere but localhost, you need to update the setting for hbase and
47   -TSO. See the hbase docs for changing the zookeeper quorum. For TSO,
48   -you need to modify bin/omid.sh.
49   -
50   -** TSO
51   -To start the TSO, run:
52   -
53   - $ bin/omid.sh tso
54   -
55   -** Benchmark
56   -To benchmark the TSO alone, run:
57   -
58   - $ bin/omid.sh tsobench
59   -
60   -** HBase
61   -We've included a utility script to start a HBase cluster on your local
62   -machine. Run:
63   -
64   - $ bin/omid.sh tran-hbase
65   -
66   -For running in a cluster
67   -
68   -* API
69   -The public api is in
70   - src/main/java/com/yahoo/omid/client/TransactionalTable.java
71   - src/main/java/com/yahoo/omid/client/TransactionState.java
72   - src/main/java/com/yahoo/omid/client/TransactionManager.java
73   -
74   -For an example of usage, look in
75   - src/test/java/com/yahoo/omid/TestBasicTransaction.java
76   -
77   -* Logging
78   -Logging can be adjusted in src/main/resource/log4j.properties.
12 README.md
Source Rendered
@@ -16,16 +16,8 @@ to restart the server without losing any commit information.
16 16 Compilation
17 17 -----------
18 18
19   -Omid uses Maven for its build system. The versions of zookeeper and bookkeeper are missing from mvn, so you have to
20   -manually install these dependencies.
21   -
22   -To install zookeeper:
23   -
24   - $ mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=zookeeper -Dversion=3.4.0 -Dpackaging=jar -Dfile=zookeeper-3.4.0.jar
25   -
26   -To install bookkeeper:
27   -
28   - $ mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=bookkeeper -Dversion=3.4.0 -Dpackaging=jar -Dfile=bookkeeper-3.4.0.jar
  19 +Omid uses Maven for its build system. We are using a temporary repository for zookeeper and bookkeeper packages to ease
  20 +the installation procedure
29 21
30 22 Then to compile omid:
31 23
24 pom.xml
@@ -27,8 +27,12 @@
27 27
28 28 <repositories>
29 29 <repository>
30   - <id>repository.jboss.org</id>
31   - <url>http://repository.jboss.org/nexus/content/groups/public/</url>
  30 + <id>ivank.waitingforzk.repo</id>
  31 + <name>Temporary repo waiting for ZK 3.4.0 official release</name>
  32 + <url>http://people.apache.org/~ivank/repo</url>
  33 + <snapshots>
  34 + <enabled>true</enabled>
  35 + </snapshots>
32 36 </repository>
33 37 </repositories>
34 38
@@ -104,7 +108,7 @@
104 108 <artifactId>netty</artifactId>
105 109 <version>3.1.2.GA</version>
106 110 </dependency>
107   - <dependency>
  111 + <!-- dependency>
108 112 <groupId>org.apache.zookeeper</groupId>
109 113 <artifactId>bookkeeper</artifactId>
110 114 <version>3.4.0</version>
@@ -113,7 +117,7 @@
113 117 <groupId>org.apache.zookeeper</groupId>
114 118 <artifactId>zookeeper</artifactId>
115 119 <version>3.4.0</version>
116   - </dependency>
  120 + </dependency -->
117 121 <dependency>
118 122 <groupId>org.hamcrest</groupId>
119 123 <artifactId>hamcrest-core</artifactId>
@@ -128,5 +132,17 @@
128 132 <type>jar</type>
129 133 <scope>compile</scope>
130 134 </dependency>
  135 + <dependency>
  136 + <groupId>org.apache.zookeeper</groupId>
  137 + <artifactId>zookeeper</artifactId>
  138 + <version>3.4.0-BK-SNAPSHOT</version>
  139 + <scope>compile</scope>
  140 + </dependency>
  141 + <dependency>
  142 + <groupId>org.apache.bookkeeper</groupId>
  143 + <artifactId>bookkeeper-server</artifactId>
  144 + <version>4.0.0-SNAPSHOT</version>
  145 + <scope>compile</scope>
  146 + </dependency>
131 147 </dependencies>
132 148 </project>

0 comments on commit eb791da

Please sign in to comment.
Something went wrong with that request. Please try again.