Git Product home page Git Product logo

Comments (11)

mjgiardino avatar mjgiardino commented on June 12, 2024

Unless you're running on the 'host0.cs.brown.edu' machine, this won't work. Try 'localhost' for the cluster machines.

from h-store.

saurabhska avatar saurabhska commented on June 12, 2024

Hi,

I am still getting the below error. Can you please help me understand what exactly should I try?

$ant hstore-prepare -Dproject=$BENCHMARK -Dhosts=./cluster.txt
Buildfile: /home/saurabhska/cs550Project/h-store/build.xml

hstore-prepare:

benchmark:
[java] 23:37:42,285 INFO - Compiling TPCC benchmark project jar
[java] 23:37:46,244 INFO - Compilation Complete. Exiting [/home/saurabhska/cs550Project/h-store/./tpcc.jar]

hstore-jar:

catalog-fix:
[copy] Copying 1 file to /home/saurabhska/cs550Project/h-store/obj/backup
[unjar] Expanding: /home/saurabhska/cs550Project/h-store/tpcc.jar into /home/saurabhska/cs550Project/h-store/obj/fixcatalog
[java] 23:37:47,783 main INFO - Updated host information in catalog with 1 host and 2 partitions
[jar] Building jar: /home/saurabhska/cs550Project/h-store/tpcc.jar
[delete] Deleting directory /home/saurabhska/cs550Project/h-store/obj/fixcatalog

BUILD SUCCESSFUL
Total time: 7 seconds
saurabhska@saurabhska-Lenovo-Z40-70:~/cs550Project/h-store$ ant catalog-info -Dproject=tpcc
Buildfile: /home/saurabhska/cs550Project/h-store/build.xml

catalog-info:
[java] Catalog File: /home/saurabhska/cs550Project/h-store/tpcc.jar
[java] # of Hosts: 1
[java] # of Sites: 1
[java] # of Partitions: 2
[java] ---------------------------------------------------------------
[java] Cluster Information:
[java] [00] HOST localhost
[java] └ SITE H00: [0, 1]
[java]

BUILD SUCCESSFUL
Total time: 1 second
saurabhska@saurabhska-Lenovo-Z40-70:~/cs550Project/h-store$ ant hstore-benchmark -Dproject=tpcc
Buildfile: /home/saurabhska/cs550Project/h-store/build.xml

hstore-benchmark:

benchmark:
[java] 23:38:39,654 INFO - ------------------------- BENCHMARK INITIALIZE :: TPCC -------------------------
[java] 23:38:39,710 INFO - Starting HStoreSite H00 on localhost
[java] 23:38:39,717 INFO - Waiting for 1 HStoreSite with 2 partitions to finish initialization
[java] 23:38:44,718 ERROR - Failed to poll 'site-00-localhost' [exitValue=255]
[java] 23:38:44,718 FATAL - Process 'site-00-localhost' failed. Halting benchmark!
[java] 23:38:46,220 FATAL - Failed to complete benchmark
[java] java.lang.RuntimeException: Failed to start all HStoreSites. Halting benchmark
[java] at edu.brown.api.BenchmarkController.startSites(BenchmarkController.java:634)
[java] at edu.brown.api.BenchmarkController.setupBenchmark(BenchmarkController.java:505)
[java] at edu.brown.api.BenchmarkController.main(BenchmarkController.java:2238)

BUILD FAILED
/home/saurabhska/cs550Project/h-store/build.xml:2565: The following error occurred while executing this line:
/home/saurabhska/cs550Project/h-store/build.xml:1722: Java returned: 1

Total time: 9 seconds

from h-store.

apavlo avatar apavlo commented on June 12, 2024

What is in your site log files?

http://hstore.cs.brown.edu/documentation/faq/#q8

from h-store.

saurabhska avatar saurabhska commented on June 12, 2024

Hi,

I apologize for the delayed response, but the log file is empty with only the timestamp i.e

2015-11-19T15:47:40.385.0

from h-store.

apavlo avatar apavlo commented on June 12, 2024

Did you setup passwordless SSH properly?

from h-store.

saurabhska avatar saurabhska commented on June 12, 2024

Its my bad, since I was using it on a single machine, I didn't try to configure SSH. After doing SSH configuration it works fine. Thanks for your help!
One quick question -
Is there a way of specifying different workloads (amount of reads/writes) for TPCC benchmark on hstore?

from h-store.

apavlo avatar apavlo commented on June 12, 2024

There is an undocumented features where you can control the workload mixture of txns:

http://hstore.cs.brown.edu/documentation/configuration/properties-file/client/#weights

So you can pass in from the commandline the distributed of how transactions are executed. For example, in TPC-C, if you wanted to just executed NewOrder 50% of the time and Payment 50% of the time, you would would set the parameter like this:

-Dclient.weights="NewOrder:50,PaymentByCustomerId:50,*:0"

The value of the parameter is a semi-colon separated list of entries. Each entry in the list is a pair <TxnName>:<Weight> where TxnName is the name of the txn (it's java class) and the weight is a value 0-100 of the percentage of the workload that should be comprised of that txn. You can use * to mean all other transactions. The weights have to add up to 100.

from h-store.

saurabhska avatar saurabhska commented on June 12, 2024

Thanks for this comment.

I am trying to make TPCC read intensive and test it on HSTORE for performance. The two methods that you shared in the example works perfect, but when I try to run it for different methods it fails. I believe its because the method names are case sensitive like (NewOrder and PaymentByCustomerId).

Can you please help me with it i.e how to make the TPCC workload read-intensive?

from h-store.

apavlo avatar apavlo commented on June 12, 2024

I don't know what you mean by "methods"? Do you mean stored procedures?

There are only two read-only stored procedures in TPC-C: ostatByCustomer* and slev.

from h-store.

saurabhska avatar saurabhska commented on June 12, 2024

Basically I need to test HSTORE for its performance on read-intensive and write-intensive workloads. The default TPCC workload is write intensive, so I am wondering how can I make it read intensive?

Like the example you gave -
-Dclient.weights="NewOrder:50,PaymentByCustomerId:50,*:0"

with syntax - : ,

I am wondering which other TxnNames can I use to make a read-intensive test workload.

from h-store.

apavlo avatar apavlo commented on June 12, 2024

I just told you. Read my last comment.

from h-store.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.