Skip to content
Snippets Groups Projects
user avatar
ghaughian authored
updating readme

updating package info

perfecting logic for http solr clients for all operations

renamed properties, tested cloud mode and cleaned code

removed dependency on dynamic field names, updated readme

now enforcing checkstyle

adding solr artifact

removing test cases relying on external dependencies

removed unused maven dependencies, added batch mode support, all try blocks now catch eplicit exceptions, Query/UpdateResponse status codes are handled more granularly, updated readme, added sample schema.xml file to support default field names in ycsb client, updated all license headers to 2016, using SolrClient object as primary client type regardless if Solr is running in Cloud or Stand-alone mode

cleaned code and config files, now accepting a solr base url property, simplified sample schema.xml file, renamed class to SolrClient, now updating documents atomically, added batch support to delete method

updated new line spacing of pom file comments

removed sample schema file, updated readme with more indepth explanation on running/setting up the solr-binding

removed some code lines no longer in use

renamed zookeeper param name, now throwing caught exceptions where appropriate, debug messages are now being logged on stderr

now returning an appropriate error if we receive an unexpected response from solr server, repeated calls to getResults is no longer

now using singletonMap to store update params in, fixed typo and missing id field in sample config in README
fc7cc571
History

Yahoo! Cloud System Benchmark (YCSB)

Build Status

Links

http://wiki.github.com/brianfrankcooper/YCSB/
http://research.yahoo.com/Web_Information_Management/YCSB/
ycsb-users@yahoogroups.com

Getting Started

  1. Download the latest release of YCSB:

    curl -O --location https://github.com/brianfrankcooper/YCSB/releases/download/0.5.0/ycsb-0.5.0.tar.gz
    tar xfvz ycsb-0.5.0.tar.gz
    cd ycsb-0.5.0
  2. Set up a database to benchmark. There is a README file under each binding directory.

  3. Run YCSB command.

    bin/ycsb load basic -P workloads/workloada
    bin/ycsb run basic -P workloads/workloada

Running the ycsb command without any argument will print the usage.

See https://github.com/brianfrankcooper/YCSB/wiki/Running-a-Workload for a detailed documentation on how to run a workload.

See https://github.com/brianfrankcooper/YCSB/wiki/Core-Properties for the list of available workload properties.

Building from source

YCSB requires the use of Maven 3; if you use Maven 2, you may see errors such as these.

To build the full distribution, with all database bindings:

mvn clean package

To build a single database binding:

mvn -pl com.yahoo.ycsb:mongodb-binding -am clean package