Python implementation of Google File System.
- Run
bash clean.sh
- gRPC
- Open three terminals, and run
chunkServer.py,masterServer.pyandclient.pyin each of them. - Type in the supported commands in the terminal which is running
client.py.
create <file_path>: Creates a new file with given absolute file path<file_path>list <prefix>: Lists all files whose absolute path have prefix<prefix>append <file_path> <string>: Appends<string>to file<file_path>read <file_path> [offset] [len]: Reads[len]characters of file<file_path>starting from[offset]. Default value ofoffsetis 0 and that oflenis -1(EOF).delete <file_path>: delete the file with given absolute file path<file_path>