Transactional key-value store for YARN
Development of a YARN application for transactional key-value operations.
How to use it
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
- HDFS and YARN must be running
- Start the YARN Application with
./start.sh. The Client REPL will start.
: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
5. View all logs with
You can look at the example client source code in
Selecting the concurrency control
At the moment, the key-value store support 3 concurrency algorithms: 2PL, MVCC2PL and MVTO.
To select one of them, write
By default (in absence of the file for instance), MVTO will be used.