Skip to content
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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

thanhctran
Copy link

  1. Remove storm dependency from this project
  2. Bug fixed: elasticsearch port is being read as Long and cannot be cast into Integer
  3. Upon bulk execute failure (e.g, due to bad mapping, string is put into a date field will throw an exception), storm keeps retrying this tuple.
  4. Remove mapping creation during execution. We assume mapping is existed at the time of execution

Note: we should remove all @deprecated stuff in the next release

Thanh Tran added 7 commits July 2, 2013 10:50
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
Copy link
Contributor

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.

Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants