Hello,
We recently upgraded from Elasticsearch 2x to 5.3.3. We have created executable jars that will load data into Elastic search. The jars worked fine in 2x but do not work in 5.3.3. We are getting the error: "Error finding the build shortHash.
Stopping Elasticsearch now so it doesn't run in subtly broken ways". From researching the issue seems that connecting to elasticsearch from with in an executable jar is no longer supported. Is this the case? So the following code will no longer work in a jar?
Client client = new PreBuiltTransportClient(Settings.EMPTY)
.addTransportAddress(new InetSocketTransportAddress(InetAddress.getByName("localhost"), 9300));
If this is the case is there a better way to ingest a large (50k) dataset into Elasticsearch without using the rest service?
Thanks.