Hadoop Error : Cannot detect ES version - typically this happens if the network/Elasticsearch cluster is not accessible or when targeting a WAN/Cloud instance without the proper setting 'es.nodes.wan.only'

I have been trying to load data from hadoop cluster into Elastic search index.
I had started the MapReduce job for executing the operation but it failed throwing the above given error. It throwed the above given error and the mapreduce operation stopped. The daemon on the Elastic search deamon got killed automatically. Kindly help. Expecting your cooperation. Thankyou

Closed as duplicate of org.elasticsearch.hadoop.rest.EsHadoopNoNodesLeftException: Connection error (check network and/or proxy settings)- all nodes failed; tried [[172.24.191.234:9010, 172.24.191.231:9010, 172.24.191.233:9010]]