Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 653 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 653 Bytes

GOOGLE FILE SYSTEM (GFS)

PROJECT SUBMITTED AS A PART OF OPERATING SYSTEMS(PG) COURSE

setup project

python -m venv env
source env/bin/activate
pip install -r requirements.txt

create some directories for chunkserver path

rm -r temp/*
mkdir -p temp/ck9010
mkdir -p temp/ck9011
mkdir -p temp/ck9012
mkdir -p temp/ck9013

Running the project

# To see available command line options run
# python `scriptname` -h
# eg: python master.py -h

python master.py

python chunkserver.py --port=9010
python chunkserver.py --port=9011
python chunkserver.py --port=9012
python chunkserver.py --port=9013

python client.py