-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugs fixed and Enhancement #4
base: master
Are you sure you want to change the base?
Conversation
2. Implement trident state for ES 3. Add unit-test with embedded ES server
…earch Conflicts: src/main/java/com/hmsonline/storm/elasticsearch/trident/ElasticSearchState.java
@@ -72,12 +77,14 @@ public void createIndices(TridentElasticSearchMapper mapper, List<TridentTuple> | |||
Map<String, Object> data = mapper.mapToData(tuple); | |||
String parentId = mapper.mapToParentId(tuple); | |||
|
|||
// TODO: this is not efficient. Creating indices should happen at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can probably remove this code. We should assume that all indexes are created ahead of time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for late noticing. I have removed those stuff and also mark the methods in Mapper deprecated
…ping is existed before execution
Note: we should remove all @deprecated stuff in the next release