Spark job (Java) cannot write data to Elasticsearch cluster
问题 I am using Docker 17.04.0-ce and Compose 1.12.0 in Windows in order to deploy Elasticsearch cluster (version 5.4.0) over Docker. So far I have done the following: 1) I have created a single Elasticsearch node via compose with the following configuration elasticsearch1: build: elasticsearch/ container_name: es_1 cap_add: - IPC_LOCK environment: - cluster.name=cp-es-cluster - node.name=cloud1 - node.master=true - http.cors.enabled=true - http.cors.allow-origin="*" - bootstrap.memory_lock=true -