@Test
public void testEviction6() 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, statsPair,metaPair;
		pair = createTestData("feed1", "yyyy-MM-dd/'more'/yyyy", 10, TimeUnit.DAYS,"/data");
		statsPair = createTestData("feed1", "yyyy-MM-dd/'more'/yyyy", 10, TimeUnit.DAYS,"/stats");
		metaPair = createTestData("feed1", "yyyy-MM-dd/'more'/yyyy", 10, TimeUnit.DAYS,"/meta");
		String dataPath = cluster.getConf().get("fs.default.name")+"/data/YYYY/feed1/mmHH/dd/MM/?{YEAR}-?{MONTH}-?{DAY}/more/?{YEAR}"
				+ "#"
				+ cluster.getConf().get("fs.default.name")+"/stats/YYYY/feed1/mmHH/dd/MM/?{YEAR}-?{MONTH}-?{DAY}/more/?{YEAR}"
				+ "#"
				+ cluster.getConf().get("fs.default.name")+"/meta/YYYY/feed1/mmHH/dd/MM/?{YEAR}-?{MONTH}-?{DAY}/more/?{YEAR}";
		String logFile = "/ivory/staging/feed/instancePaths-2012-01-01-01-00.csv";
		FeedEvictor.main(new String[] {
				"-feedBasePath",
				dataPath,
				"-retentionType","instance", "-retentionLimit","days(10)", "-timeZone","UTC", "-frequency","daily",
				"-logFile",logFile});
		assertFailures(fs, pair);
		Assert.assertEquals(readLogFile(new Path(logFile)),
				getExpectedInstancePaths(dataPath.replaceAll(cluster
						.getConf().get("fs.default.name"), "")));
	} catch (Exception e) {
		Assert.fail("Unknown exception", e);
	}
}