Hi Ivan, Thank you for the useful guide. I have successfully built hedwig and cannot wait to do more with it.
Best, ~Thai On Thu, Oct 6, 2011 at 5:03 PM, Ivan Kelly <[email protected]> wrote: > Hi Thai, > > I've updated the build instructions on SVN, but it hasn't made it to the > website yet. > > To build hedwig you need to get zookeeper trunk from subversion, run ant > package, and then manually install the 3.4.0 jars in maven. > To manually install do: > cd build/zookeeper-3.4.0/dist-maven > mvn install:install-file -Dfile=zookeeper-3.4.0.jar > -DpomFile=zookeeper-3.4.0.pom -Dpackaging=jar > mvn install:install-file -Dfile=zookeeper-3.4.0-test.jar > -DpomFile=zookeeper-3.4.0-test.pom -Dpackaging=jar > > We have been waiting for the official release of zk 3.4.0 but it has taken > longer than anticipated. Once you have zk 3.4.0 installed, run mvn install > from the toplevel bookkeeper directory. Add "-DskipTests" if you want to > skip the testing phase. It should all build out of the box, and you should > be able to start a hedwig hub with "hedwig-server/bin/hedwig server". Of > course you'll need to have bookkeeper and zookeeper running for this. We > have a utility in bookkeeper which will start a small bk ensemble. To get a > small ensemble of 3 bookies on your local machine run > "bookkeeper-server/bin/bookkeeper localbookie 3". This will also start a > local zookeeper server. You may need to chmod +x these scripts. > > Regards > Ivan
