You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "YoungWoo Kim (JIRA)" <ji...@apache.org> on 2015/07/09 10:55:04 UTC

[jira] [Updated] (BIGTOP-1921) Puppet recipe for YCSB

     [ https://issues.apache.org/jira/browse/BIGTOP-1921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YoungWoo Kim updated BIGTOP-1921:
---------------------------------
    Description: 
Puppet recipe for YCSB(BIGTOP-1920)

Notes regarding running test on vagrant-puppet-vm:
With this patch, you can boot up a VM
{noformat}
$ cd $BIGTOP_HOME/......./vagrant-puppet-vm/
$ export REPO="http://hostname/path/to"
$ export COMPONENTS="[hadoop, yarn, hbase, ycsb]"

$ vagrant up
$ vagrant ssh
{noformat}

Ans then, steps to run YCSB on the VM:
{noformat}
vagrant$ export YCSB_HOME=/usr/lib/ycsb
vagrant$ sudo cp -f /etc/hbase/conf/hbase-site.xml $YCSB_HOME/hbase-binding/conf/ 

vagrant$ cd $YCSB_HOME

vagrant$ bin/ycsb load hbase -p table=usertable -p columnfamily=cf -P workloads/workloada

vagrant$ bin/ycsb run hbase -p table=usertable -p columnfamily=cf -P workloads/workloada -s > /tmp/transactions.dat

vagrant$ cat /tmp/trasactions.dat
YCSB Client 0.1
Command line: -db com.yahoo.ycsb.db.HBaseClient -p table=usertable -p columnfamily=cf -P workloads/workloada -s -t
[OVERALL], RunTime(ms), 2898.0
[OVERALL], Throughput(ops/sec), 345.0655624568668
[UPDATE], Operations, 492
[UPDATE], AverageLatency(us), 103.2560975609756
[UPDATE], MinLatency(us), 0
[UPDATE], MaxLatency(us), 4266
[UPDATE], 95thPercentileLatency(ms), 0
[UPDATE], 99thPercentileLatency(ms), 1
[UPDATE], Return=0, 492
[UPDATE], 0, 486
[UPDATE], 1, 3
[UPDATE], 2, 1

...
{noformat}

  was:Puppet recipe for YCSB(BIGTOP-1920)


> Puppet recipe for YCSB
> ----------------------
>
>                 Key: BIGTOP-1921
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1921
>             Project: Bigtop
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 1.0.0
>            Reporter: YoungWoo Kim
>
> Puppet recipe for YCSB(BIGTOP-1920)
> Notes regarding running test on vagrant-puppet-vm:
> With this patch, you can boot up a VM
> {noformat}
> $ cd $BIGTOP_HOME/......./vagrant-puppet-vm/
> $ export REPO="http://hostname/path/to"
> $ export COMPONENTS="[hadoop, yarn, hbase, ycsb]"
> $ vagrant up
> $ vagrant ssh
> {noformat}
> Ans then, steps to run YCSB on the VM:
> {noformat}
> vagrant$ export YCSB_HOME=/usr/lib/ycsb
> vagrant$ sudo cp -f /etc/hbase/conf/hbase-site.xml $YCSB_HOME/hbase-binding/conf/ 
> vagrant$ cd $YCSB_HOME
> vagrant$ bin/ycsb load hbase -p table=usertable -p columnfamily=cf -P workloads/workloada
> vagrant$ bin/ycsb run hbase -p table=usertable -p columnfamily=cf -P workloads/workloada -s > /tmp/transactions.dat
> vagrant$ cat /tmp/trasactions.dat
> YCSB Client 0.1
> Command line: -db com.yahoo.ycsb.db.HBaseClient -p table=usertable -p columnfamily=cf -P workloads/workloada -s -t
> [OVERALL], RunTime(ms), 2898.0
> [OVERALL], Throughput(ops/sec), 345.0655624568668
> [UPDATE], Operations, 492
> [UPDATE], AverageLatency(us), 103.2560975609756
> [UPDATE], MinLatency(us), 0
> [UPDATE], MaxLatency(us), 4266
> [UPDATE], 95thPercentileLatency(ms), 0
> [UPDATE], 99thPercentileLatency(ms), 1
> [UPDATE], Return=0, 492
> [UPDATE], 0, 486
> [UPDATE], 1, 3
> [UPDATE], 2, 1
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)