README.txt 1.2 KB

1234567891011121314151617181920212223242526
  1. 1) This source directory contains various Zookeeper recipe implementations.
  2. 2) The recipe directory name should specify the name of the recipe you are implementing - eg. zookeeper-recipes-lock/.
  3. 3) It would be great if you can provide both the java and c recipes for the zookeeper recipes.
  4. C recipes go in to zookeeper-recipes/zookeeper-recipes-[recipe-name]/src/c
  5. Java implementation goes into zookeeper-recipes/zookeeper-recipes-[recipe-name]/src/java.
  6. 4) The recipes hold high standards like our zookeeper c/java libraries, so make sure that you include
  7. some unit testing with both the c and java recipe code.
  8. 5) Also, please name your c client public methods as
  9. zkr_recipe-name_methodname
  10. (eg. zkr_lock_lock in zookeeper-recipes-lock/src/c)
  11. 6) The various recipes are in ../docs/recipes.html or
  12. ../../docs/reciped.pdf. Also, this is not an exhaustive list by any chance.
  13. Zookeeper is used (and can be used) for more than what we have listed in the docs.
  14. 7) To run the c tests in all the recipes,
  15. - make sure the main zookeeper c libraries in
  16. {top}/src/c/ are compiled. Run autoreconf -if;./configure; make. The libraries
  17. will be installed in {top}/src/c/.libs.
  18. - run autoreconf if;./configure;make run-check
  19. in zookeeper-recipes/$recipename/src/c