Skip to content

dakshpokar/HyDFS-Distributed-File-System

Repository files navigation

MP3-Distributed-Systems

This is a Hybrid Distributed file system which takes inspiration from Cassandra and HDFS.

Project Setup for all machines

  1. Ensure that you have Go Lang Installed on your machine.
  2. Clone this repo on each machine.
  3. cd into mp3-distributed-systems folder on all machines.
cd mp3-distributed-systems
  1. Start the introducer on machine 1 -
go run main.go introducer
  1. Ensure that your log files are present in the same directory on all machines. Example - /root/

How to run Distributed File System

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 -

  1. 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.

  1. Run main.go on the machine
go run main.go
  1. Various commands will be displayed for performing various actions related to file like create, append, merge etc.

Group G92

Rishi Mundada (rishirm3@illinois.edu) Daksh Pokar (dakshp2@illinois.edu)

About

This is HyDFS, a distributed file system. Inspired by Cassandra and HDFS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published