This is a tiny distributed file system optimized for bandwidth
Exactly one line.
It can be IP:port
(e.g., 162.105.131.160:443
) or DomainName:port
(e.g., www.stanford.edu:443
).
One line per DataNode, using the same format as above.
bash scripts/build.sh
Build namenode and datanode.
bash scripts/setup.sh
Run namenode and multiple datanodes.
bash scripts/test.sh
An example script to setup and test the system.
bash scripts/terminate.sh
Terminate all namenode and datanodes.
go run examples/read/main.go --server="localhost:8000" --path="test" --offset=10 --length=10
Ubuntu:
sudo apt install redis
.
Make sure the version is >= 7 (redis-cli -v
).
Open config file (sudo vim /etc/redis/redis.conf
), and modify the following:
appendonly yes
appendfsync always
supervised auto