HadoopDataSink works both for hadoop 1.2.1 and 2.2.0
add license headers
add ContextCheck to LocalExecutor; check in HadoopDataSink for output path