YARN - Changing ES Network Binding Interface


#1

When I launch a yarn cluster all the nodes running ES are binding to the loopback interface.

How can I launch ES nodes in yarn to bind to all network interfaces so that the instances are accessible over the network?

I would have expected this functionality to be pretty popular, but I can't for the life of me figure out how to do it.


#2

I figured this out.

For others who might be wondering how to do this.

You can unzip the elasticsearch-2.x.zip file that -download-es saves locally. Modify config/elasticsearch.yml then zip the files back up.

When you run -install-es it will copy your modified .zip file to HDFS and use that on all the nodes.


(system) #3