Elastic 5.1.1 bulk java api not working on remote server

Hello,

I am trying to index documents from hive to elasticsearch. I am using java bulk api. I am able to achieve this on local host but not on the remote server. I do not get any error on remote host and none of the document is getting indexed. It is apache tomcat and is using java 1.8. The elastic version is 5.1.1. The only error that I can see is shown below:

I am not sure if this error is the cause because the code works fine on localhost. Thanks a lot. Looking forward to your help.

This looks like you are using the Transport client for Elasticsearch and not the ES-Hadoop libraries. If that is the case, then you will need to use the appropriate transport client version for the version of your cluster.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.