README 946 B

1234567891011121314151617181920212223
  1. This directory contains the hdfs extensions needed to make rocksdb store
  2. files in HDFS.
  3. It has been compiled and testing against CDH 4.4 (2.0.0+1475-1.cdh4.4.0.p0.23~precise-cdh4.4.0).
  4. The configuration assumes that packages libhdfs0, libhdfs0-dev are
  5. installed which basically means that hdfs.h is in /usr/include and libhdfs in /usr/lib
  6. The env_hdfs.h file defines the rocksdb objects that are needed to talk to an
  7. underlying filesystem.
  8. If you want to compile rocksdb with hdfs support, please set the following
  9. environment variables appropriately (also defined in setup.sh for convenience)
  10. USE_HDFS=1
  11. JAVA_HOME=/usr/local/jdk-7u79-64
  12. LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/jdk-7u79-64/jre/lib/amd64/server:/usr/local/jdk-7u79-64/jre/lib/amd64/:./snappy/libs
  13. make clean all db_bench
  14. To run dbbench,
  15. set CLASSPATH to include your hadoop distribution
  16. db_bench --hdfs="hdfs://hbaseudbperf001.snc1.facebook.com:9000"