arnaudsjs / YCSB-couchdb-binding

Couchdb database interface for YCSB
Apache License 2.0
2 stars 5 forks source link

Error mounting YCSB with CouchDB #4

Open tiezermelo opened 8 years ago

tiezermelo commented 8 years ago

Hey arnaudsjs, I need your help. I found a error message when I tried to mount the YCSB with CouchDB.

Alterations: YCSB/bin/ycsb: Databases= "couchdb" : "couchdb.CouchdbClient" YCSB/pom.xml: couchdb

Error Messages: [ERROR] The project com.yahoo.com:couchdb-binding:0.1.4 (/home/user/YCSB/couchdb/pom.xml) has 1 error [EROR] Non-resolvable parent POM: failure to find com.yahoo.ycsb:root:pom:0.1.4 in http://repo.maven.apache.com/maven2...

arnaudsjs commented 8 years ago

The compilation does not work because my CouchDB module was written for an older version of the YCSB project, namely version 0.1.4. You can download version 0.1.4 using https://github.com/brianfrankcooper/YCSB/archive/0.1.4.zip If you perform the procedure mentioned in README.md of the couchDB module on this project, everything works fine. I will update the documentation soon. The commands to run a benchmark using the old version and the new version are equivalent, so I would refer to the current documentation of YCSB to run a specific benchmark.

If you would feel like porting the CouchDB module to the current version of YCSB, you will have to change the version mentioned between the tag in the pom.xml of the CouchDB module to make sure that it matches the version mentioned between the tag in the YCSB/pom.xml file. For the current version this is 0.8.0-SNAPSHOT. If you would try to compile that using (mvn clean package -Dcheckstyle.skip=true -X), you get more specific errors related to incompatibilities between both version.