This is a Hybrid Distributed file system which takes inspiration from Cassandra and HDFS.
- Ensure that you have Go Lang Installed on your machine.
- Clone this repo on each machine.
- cd into mp3-distributed-systems folder on all machines.
cd mp3-distributed-systems
- Start the introducer on machine 1 -
go run main.go introducer
- Ensure that your log files are present in the same directory on all machines. Example -
/root/
Now that the introducer is started, you can execute go run main.go and join from any of the machines but before that you have to follow these steps -
- Create a
.env
file in mp1-distributed-system folder and add the following on all machines-
INTRODUCER_ADDR=127.0.0.1
Enter the introducer IP / Hostname. For example -
INTRODUCER_ADDR=fa24-cs425-9201
This has to be performed once on the machine where the distributed disseminator is to be run.
- Run main.go on the machine
go run main.go
- Various commands will be displayed for performing various actions related to file like create, append, merge etc.
Rishi Mundada (rishirm3@illinois.edu) Daksh Pokar (dakshp2@illinois.edu)