Coder Social home page Coder Social logo

simple_distributed_file_system's Introduction

Simple Distributed File System

Description

Simple Distributed File System (SDFS) is an HDFS-like flat file system, which is easy to scale as the number of services increases. It also supports failure tolerance, fast replication, version control, and consistency levels features.

Installation

You can clone this project to the machines you need to grep log from using following command:

ssh: git clone [email protected]:FrancisYu2020/Simple_Distributed_File_System.git
https://github.com/FrancisYu2020/Simple_Distributed_File_System.git

Setup

To use this SDFS, you need to setup required enviroment first. To make this easy, we provide a requirements.txt, please use the following command in simpleDFS/

pip3 install -r requirements.txt

Usage

The default settings of introducer and Namenode can be configured in simpleDFS/server.py. To use SDFS, first you need to start the Datanode and failure detector in the machines you want to provide store services. Please use the following command in simpleDFS/:

python3 server.py

And use following command to join the memberlist of failure detector, please notice that you need to first join the introducer before other nodes:

join

To list the current membership list, on any node run:

list_mem

Then you can use following command in simpleDFS/ to start interactive command shell to use the store file system:

python3 client.py

We support follwing commands:

put [localfilename] [sdfsfilename]
get [sdfsfilename] [localfilename]
delete [sdfsfilename]
ls [sdfsfilename]
store
get-versions [sdfsfilename] [numversions] [localfilename]

Support

If you have any questions, please contact hangy6 [at] illinois [dot] edu or tian23 [at] illinois [dot] edu

Authors

Hang Yu & Tian Luan

simple_distributed_file_system's People

Contributors

t1u4n avatar francisyu2020 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.