YCSB with IDH?

29 views
Skip to first unread message

Dave

unread,
Jun 3, 2013, 5:12:11 PM6/3/13
to idh-...@googlegroups.com

Hi-

I would like to find out if anybody has experience testing Intel 2.3 HBase using YCSB?

Yahoo! Cloud System Benchmark (YCSB)

https://github.com/brianfrankcooper/YCSB

Please provide the steps to setup and test.

Thanks

Dave


IDH User

unread,
Jun 4, 2013, 1:06:26 AM6/4/13
to idh-...@googlegroups.com
Hi Dave,

The compiled version of YCSB from github cannot be used as such. I have seen errors while running the it.
You have to compile the source code with maven.

  1. Download Maven from http://maven.apache.org/download.cgi
  2. Download YCSB source code from the URL you have mentioned below. (download the ZIP file and unzip it).
  3. Ensure that your IDH cluster is up and running and if you are able to access hbase.
  4. Untar maven and use the binary " ./bin/mvn "
  5. Change directory to the unzipped YCSB source and run "<path-to-mvn-binary>/mvn compile".
  6. You will find a hbase-site.xml in one of the sub-directories of the compiled YCSB. You need to fill this file with relevent contents. (Compare with /etc/hbase/conf/hbase-site.xml for help).
  7. On the hbase shell: create 'usertable', { NAME => 'cf' }
    1. This is the table in which the sample workload will generate data
  8. Create the load (You might need to give execute permissions to the ycsb binary file).
    1. <YCSB_HOME>/bin/ycsb load hbase -P workloads/workloada -p columnfamily=family -s > load.dat
    2. You can follow step 5 from https://github.com/brianfrankcooper/YCSB/wiki/Running-a-Workload
  9. Run the load
    1. <YCSB_HOME>/bin/ycsb run hbase -P workloads/workloada -p load.dat -s > run.dat
    2. You can follow step 6 from https://github.com/brianfrankcooper/YCSB/wiki/Running-a-Workload

Thanks,
Manoj
Reply all
Reply to author
Forward
0 new messages