Tap in = sourceTap();
Tap out = new EsTap("cascading-hadoop/alias", "", new Fields("name", "url", "picture"));
Pipe pipe = new Pipe("copy");
// rename "id" -> "garbage"
pipe = new Each(pipe, new Identity(new Fields("garbage", "name", "url", "picture", "ts")));
Properties props = HdpBootstrap.asProperties(CascadingHadoopSuite.configuration);
props.setProperty("es.mapping.names", "url:address");
StatsUtils.proxy(new HadoopFlowConnector(props).connect(in, out, pipe)).complete();
}