*/
@Test
public void testUrl404Purging() throws Exception {
// create a CrawlDatum with DB GONE status
ArrayList<URLCrawlDatum> list = new ArrayList<URLCrawlDatum>();
list.add(new URLCrawlDatum(new Text("http://www.example.com"), new CrawlDatum(
CrawlDatum.STATUS_DB_GONE, 0, 0.0f)));
list.add(new URLCrawlDatum(new Text("http://www.example1.com"), new CrawlDatum(
CrawlDatum.STATUS_DB_FETCHED, 0, 0.0f)));
list.add(new URLCrawlDatum(new Text("http://www.example2.com"), new CrawlDatum(
CrawlDatum.STATUS_DB_UNFETCHED, 0, 0.0f)));
dbDir = new Path(testdir, "crawldb");
newCrawlDb = new Path(testdir,"newcrawldb");
// create crawldb
CrawlDBTestUtil.createCrawlDb(conf, fs, dbDir, list);