Development of a YARN application for transactional key-value operations.
If you are running the , ./configure.sh local
to configure the slaves file. Otherwise, if you are running it on the cluster of the course, please run ./configure.sh N
to run the system on N
nodes.
- HDFS and YARN must be running
- Start the YARN Application with
./start.sh
. The Client REPL will start. - Try
:benchmark
, it's gonna be fun. Please be nice to our immature system
Example benchmark test: :benchmark t 100 r 10 k 500 ratio 20
4. Stop the YARN Application with :exit
.
5. View all logs with ./printlogs.sh
.
You can look at the example client source code in test/ch/epfl/tkvs/userclient/UserClient.java
At the moment, the key-value store support 3 concurrency algorithms: 2PL, MVCC2PL and MVTO.
To select one of them, write simple_2pl
, mvcc2pl
or mvto
in ./config/algorithm
.
By default (in absence of the file for instance), MVTO will be used.