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

Ch03 elasticsearch.pig fails with ElasticSearch 0.90.0 #24

Open
mathias opened this issue Feb 9, 2014 · 2 comments
Open

Ch03 elasticsearch.pig fails with ElasticSearch 0.90.0 #24

mathias opened this issue Feb 9, 2014 · 2 comments

Comments

@mathias
Copy link

mathias commented Feb 9, 2014

It works up until the end when it tries to query for data, for which I receive:

{
  "error" : "IndexMissingException[[sent_counts] missing]",
  "status" : 404
}

ElasticSearch was running in another tab, and the operations to add data to it seem to have worked. The book specifies elasticsearch 0.20.2, I have ElasticSearch Version: 0.90.0, which might be part of it.

Anyone have a workaround?

@mathias
Copy link
Author

mathias commented Feb 9, 2014

(I'm using https://github.com/charlesflynn/agiledata which includes ElasticSearch 0.90.0, which is why I have that version. I can also try to downgrade, but thought someone might have a better fix going forward.)

@krwaters
Copy link

I installed elasticsearch 0.20.2, but still had similar "IndexMissing" errors.

My IndexMissing problem appeared to be due to my version of Pig. I originally installed Pig 0.12.0. There appear to be differences in AvroStorage between Pig 0.12.x and Pig 0.11.x. After experiencing this problem, my plan became to work through the examples in the book using the listed software versions.

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

No branches or pull requests

2 participants