Hello there,
I am following https://www.elastic.co/guide/en/elasticsearch/hadoop/current/storm.html .
I am trying to write to elastic search using the ESBolt. The flow's topology consists of only 1 spout and 1 bolt
builder.setSpout("spout", new RandomSentenceSpout(), 10);
builder.setBolt("es-bolt", new EsBolt("storm/docs"), 5) .shuffleGrouping("spout");
with conf.put("es.index.auto.create", "true");
However, when i run the flow, no errors, no issues. I can see that it successfully created the storm/docs in es. However, it does not index anything.
Tried debugging through the code. Inside the TemplatedBulk.class, on one of the indexing request, i see that the write method is returning:
{"index":{}}
{"word":"snow white and the seven dwarfs"}
Should the "index" entry be empty? Any suggestions on how to figure out what I am doing wrong?
Env info:
hadoop: 2.4
storm: .10
ES: 2.3.3
thanks
Adisa