I tried writing to my local version es and it works fine, but when connecting to a remote host, no document is written to the index. Although the index was automatically created.
What could be wrong?
EsSpark.saveToEs(userTweetRDD, "twitter/test", Map("es.nodes" -> "xx.xx.xx.xxx", "es.cluster.name" -> xxxx-xxxxx"))
Can anyone tell me what I am doing wrong?
Thanks in advance...