try {
Tap urlSink = platform.makeTap(platform.makeBinaryScheme(CrawlDbDatum.FIELDS), crawlDbPath, SinkMode.REPLACE);
TupleEntryCollector writer = urlSink.openForWrite(platform.makeFlowProcess());
SimpleUrlNormalizer normalizer = new SimpleUrlNormalizer();
CrawlDbDatum datum = new CrawlDbDatum(normalizer.normalize("http://" + targetDomain), 0, 0, UrlStatus.UNFETCHED, 0);
writer.add(datum.getTuple());
writer.close();
} catch (Exception e) {
throw e;