use of org.apache.hadoop.io.MD5Hash in project hadoop by apache.
the class TestMD5FileUtils method testComputeMd5ForFile.
@Test
public void testComputeMd5ForFile() throws Exception {
MD5Hash computedDigest = MD5FileUtils.computeMd5ForFile(TEST_FILE);
assertEquals(TEST_MD5, computedDigest);
}
Aggregations