Project 1 Test Files

The test files for Project 1 are stored in orion01:/bigdata/mmalensek/project1. Here’s a list of their names and MD5 checksums:

We should be able to store the file, retrieve it, and verify that the checksum matches those listed above. You can use the md5sum utility on Linux machines to test this.

Occasionally the grader may decide to generate new files for you to use, with similar properties to those listed above.

Setup

To get ready for grading, you will need to launch (BEFORE grading begins):

Set your storage directory to somewhere under /bigdata/students/$(whoami)/.

You should be able to show your heartbeat messages are working, then we’ll proceed with the test cases.

The grader will log into one of the orion machines, compile your project, and run your client. PLEASE make sure you have instructions so the grader can easily figure out how to use your client application.

Test Cases

  1. Storing a few files that map to different amounts of chunks. We should be able to specify the chunk size.
  2. Retrieving the files and verifying md5sum.
  3. Attempt to store a file that already exists. (Should be rejected).
  4. Delete a file. Try to retrieve it after deletion.
  5. List files in the system
  6. Kill a random storage node, make sure the failure is detected and replication level maintained. Please make sure you have a clear way of demonstrating this.
  7. Retrieve files that were impacted by the failure.
  8. Corrupt chunk data on disk
  9. Retrieve file related to that chunk, verify file is restored. Please make sure you have a clear way of demonstrating this.

Code Walkthrough Examples