Skip to content

AshishKempwad/Google-File-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Google-File-System

Implementing Google File System from its research paper which inspired Hadoop!!

GFS_19_ARRAY

Implementation of Google File System in Python 3

Testing Formats:
To run the Master Server : python3 Master_Server.py
To run the BackUp Master Server : python3 Backup_Master_Server.py
To run the chunkserver [All the chunkservers to be run with their port numbers] : python3 chunk_server.py port_number(of chunkserver)
To run the client : python3 client.py

In client after running it:
upload file_name: To upload the file into the chunkservers
download file_name: To download the file from the chunkservers
lease file_name: Put a lease/lock on the file,so that no other client can upload/download the file
unlease file_name: Remove the lease put on the file...

Architecture:
One Master Server, One BackUp Master Server,Four Chunkservers,Multiple Clients Allowed.
Master Server will hold the Metadata of all the chunks of the files which will be used by clients and chunkservers to communicate with the appropriate chunkserver.