Skip to content

AFederici/MapReduce

Repository files navigation

MP2 Simple Distributed File System

Executing Instructions

  • Setup Project
$ cd ~ && rm -r -f MapReduce && git clone https://github.com/AFederici/MapReduce.git && cd MapReduce && make all && chmod 777 Wc && ./Node
  • Running time commands
$ [join] join to a group via fixed introducer
$ [leave] leave the group
$ [id] print id (IP/PORT)
$ [member] print all membership list
$ [switch] switch to other mode (All-to-All to Gossip, and vice versa)
$ [mode] show in 0/1 [All-to-All/Gossip] modes
$ [exit] terminate process
$ === New since MP2 ===
$ [put] localfilename sdfsfilename
$ [get] sdfsfilename localfilename
$ [delete] sdfsfilename
$ [ls] list all machine (VM) addresses where this file is currently being stored
$ [lsall] list all sdfsfilenames with positions
$ [store] list all files currently being stored at this machine
  • Create files
$ dd if=/dev/urandom of=test_file bs=2097152 count=2
$ dd if=/dev/urandom of=test_file_07 bs=1000000 count=7
  • All logs are in logs.txt under the mp2 folder

Acknowledgement

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages