-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to poll 'site-01-localhost' on running TPCC benchmark #204
Comments
Unless you're running on the 'host0.cs.brown.edu' machine, this won't work. Try 'localhost' for the cluster machines. |
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 hstore-prepare: benchmark: hstore-jar: catalog-fix: BUILD SUCCESSFUL catalog-info: BUILD SUCCESSFUL hstore-benchmark: benchmark: BUILD FAILED Total time: 9 seconds |
What is in your site log files? |
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 |
Did you setup passwordless SSH properly? |
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! |
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:
The value of the parameter is a semi-colon separated list of entries. Each entry in the list is a pair |
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? |
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: |
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 - with syntax - : , I am wondering which other TxnNames can I use to make a read-intensive test workload. |
I just told you. Read my last comment. |
Hi,
I am trying to run TPCC benchmark on h-store, but its unfortunately getting failed.
Please find the below logs from my run and appreciate if you can help me debug it. (seems like a configuration issue to me, but I am unable to find where am I going wrong)
$ ant hstore-prepare -Dproject=$BENCHMARK -Dhosts=./cluster.txt
Buildfile: /home/h-store/build.xml
hstore-prepare:
benchmark:
[java] 16:33:53,894 INFO - Compiling TPCC benchmark project jar
[java] 16:33:57,701 INFO - Compilation Complete. Exiting [/home/h-store/./tpcc.jar]
hstore-jar:
catalog-fix:
[copy] Copying 1 file to /home/h-store/obj/backup
[unjar] Expanding: /home/h-store/tpcc.jar into /home/h-store/obj/fixcatalog
[java] 16:33:59,275 main INFO - Updated host information in catalog with 1 host and 2 partitions
[jar] Building jar: /home/h-store/tpcc.jar
[delete] Deleting directory /home/h-store/obj/fixcatalog
BUILD SUCCESSFUL
Total time: 7 seconds
$ cat ./cluster.txt
host0.cs.brown.edu:0:0
host0.cs.brown.edu:0:1
$ ant catalog-info -Dproject=tpcc
Buildfile: /home/h-store/build.xml
catalog-info:
[java] Catalog File: /home/h-store/tpcc.jar
[java] # of Hosts: 1
[java] # of Sites: 1
[java] # of Partitions: 2
[java] ---------------------------------------------------------------
[java] Cluster Information:
[java] [00] HOST host0.cs.brown.edu
[java] └ SITE H00: [0, 1]
[java]
BUILD SUCCESSFUL
Total time: 1 second
$ ant hstore-benchmark -Dproject=tpcc
Buildfile: /home/h-store/build.xml
hstore-benchmark:
benchmark:
[java] 16:34:29,435 INFO - ------------------------- BENCHMARK INITIALIZE :: TPCC -------------------------
[java] 16:34:29,485 INFO - Starting HStoreSite H00 on host0.cs.brown.edu
[java] 16:34:29,494 INFO - Waiting for 1 HStoreSite with 2 partitions to finish initialization
[java] 16:34:34,495 ERROR - Failed to poll 'site-00-host0.cs.brown.edu' [exitValue=255]
[java] 16:34:34,495 FATAL - Process 'site-00-host0.cs.brown.edu' failed. Halting benchmark!
[java] 16:34:35,997 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/h-store/build.xml:2565: The following error occurred while executing this line:
/home/h-store/build.xml:1722: Java returned: 1
Total time: 9 seconds
The text was updated successfully, but these errors were encountered: