abalacha@gs9656:~/Documents/research/Minni/minni/src/dfs/tools$
./cpToDFS cpFromDFS tmp/test localhost 20000
Copying cpFromDFS to tmp/test on localhost:20000
File Size [bytes]: 237448
Opening file.
Writing 40840 bytes
File successfully written to DFS.
abalacha@gs9656:~/Documents/research/Minni/minni/src/dfs/tools$ ls
-la cpFromDFS
-rwxr-xr-x 1 abalacha abalacha 237448 2010-12-14 20:09 cpFromDFS
The program outputted a message saying that it is writing 40840
messages when it should be writing the entire file of size 40840
bytes. However the file was copied back from the DFS and verified
using hashes and found to be correctly written. Hence the program is
functionally correct.
Reported by Athula Balachandran, Jan 23, 2011