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.