@Test
public void testVolumeFailureShutdown() throws Exception {
setUp("testVolumeFailureShutdown");
LOG.info("Corrupt the volume");
DataNodeProperties dnp = cluster.getDataNodeProperties().get(0);
String[] dataDirs = dnp.conf.getStrings("dfs.data.dir");
File vol =new File(dataDirs[0], "current");
try {
assertEquals("Couldn't chmod local vol", 0,
FileUtil.chmod(vol.toString(), "444"));