@Test
public void testEviction3() throws Exception {

	try {
		Configuration conf = cluster.getConf();
		FileSystem fs = FileSystem.get(conf);
		fs.delete(new Path("/"), true);
		stream.clear();
		Pair<List<String>, List<String>>  pair;
		pair = createTestData("feed2", "yyyyMMddHH/'more'/yyyy", 5, TimeUnit.HOURS,"/data");
		String dataPath = "/data/YYYY/feed2/mmHH/dd/MM/" +
				"?{YEAR}?{MONTH}?{DAY}?{HOUR}/more/?{YEAR}";
		String logFile = "/ivory/staging/feed/instancePaths-2012-01-01-02-00.csv";
		FeedEvictor.main(new String[] {
				"-feedBasePath",cluster.getConf().get("fs.default.name")
				+ dataPath,
				"-retentionType","instance", "-retentionLimit","hours(5)", "-timeZone","UTC", "-frequency","hourly",
				"-logFile",logFile});
		assertFailures(fs, pair);
		compare(map.get("feed2"), stream.getBuffer());
		Assert.assertEquals(readLogFile(new Path(logFile)), getExpectedInstancePaths(dataPath));
	} catch (Exception e) {
		Assert.fail("Unknown exception", e);
	}
}