Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ES 2.0 SSL problem #608
I'm having trouble writing data from hive to ES 2.0 I'm using the elasticsearch-hadoop-hive-2.2.0-beta1.jar file but am getting the below error:
Neither my Hadoop or ES 2.0 cluster uses SSL so I don't know why its asking for certs. According to the docs SSL is defaulted to false but I have put it in my table properties again in case:
Any ideas would be greatly appreciated.
I have also raised this with ES support.
Something is definitely is using SSL otherwise this won't show in the stack trace. Based on the strack trace is looks like the initial call to ES is successful but the subsequent call ends being wrapped through SSL. Can you please enable
Additionally, please double check your configuration - the SSL won't appear out of nowhere; maybe you have a transparent proxy defined or maybe the ES nodes communicate between each other using SSL. Does
Forgive me I'm not great with the whole hadoop setup and I'm not sure how to enable logging.
I was however able to successfully run curl commands against the cluster:
Also I've been doing some digging and found this option:
Which I put into my elasticsearch.yml file, now I get this error:
Might be barking completely up the wrong tree here though, what do you think?
I changed a setting in the elasticsearch.yml file to use the nodes IP instead of its hostname for publishing and this has fixed the issue.
I can't seem to replicate the SSL issue though but I definitely do not use SSL anywhere on this cluster, so a bit of a strange one.