How to use ElasticSearch hadoop connector to create type automatically from Streaming DataSet<Row>?

Can you please post the printSchema output of your transformation result?
( you have to change the reading from streaming to regular style to do this)