Read and write data to/from ElasticSearch within Hadoop