create elasticsearch client throws a netty IllegalStateException
Set the following system property on start:System.setProperty("es.set.netty.runtime.available.processors", "false");
https://discuss.elastic.co/t/elasticsearch-5-4-1-availableprocessors-is-already-set/88036/8