Comments (11)
Unless you're running on the 'host0.cs.brown.edu' machine, this won't work. Try 'localhost' for the cluster machines.
from h-store.
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.
What is in your site log files?
http://hstore.cs.brown.edu/documentation/faq/#q8
from h-store.
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.
Did you setup passwordless SSH properly?
from h-store.
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.
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.
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.
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.
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.
I just told you. Read my last comment.
from h-store.
Related Issues (20)
- Anti-cache broken for secondary indexes HOT 1
- Test for Asynchronous Eviction branch
- Building Broken when using -Dsite.exec_ee_log_level=TRACE HOT 2
- Automatic Database Designer run error HOT 2
- I want to run tpcc benchmark on two machine using hstore, but I failed HOT 2
- Automatic Database Designer run error designer-benchmark
- Making TupleMerge a Runtime Option and Validating Correctness
- Defragmenting of Blocks used with Tuple Merge
- Master branch does not compile successfully on Mac OX (10.10.4) at least HOT 1
- Buffer underflow exception during anti-caching test HOT 1
- CSVResultsPrinter Latencies are only for single-partition txns
- Building H-Store fails for Mac 10.9.5 HOT 1
- Failed to poll 'site-01-localhost' HOT 7
- Failed to calculating initial solution using MostPopularPartitioner
- Two errors occur when I run 'ant build', seems HOT 3
- Failed to use hstore command line tool HOT 2
- Anti-caching seems not working well in my configuration setup HOT 4
- Controlling the Data size for the tpcc HOT 1
- Debugging the ee with new indexing file? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h-store.