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

Check for getIndexAutoCreate on initSingleIndex #536

Closed
kjelle opened this issue Aug 18, 2015 · 2 comments
Closed

Check for getIndexAutoCreate on initSingleIndex #536

kjelle opened this issue Aug 18, 2015 · 2 comments

Comments

@kjelle
Copy link

kjelle commented Aug 18, 2015

Hello.

I'm running tag v2.1.0.rc1 with ES v1.7.1 from Storm using Hortonworks HDP 2.2.

I have an alias (storm-today) for my index (storm-2015-08-18) and I want to use storm-today as the resource in my EsBolt(..). Elasticsearch casts an InvalidIndexNameException "Invalid index name [storm-today], already exists as alias" and as far as I can see I have no way (without changing the code) to stop this.

The problem seems to be in, or around, RestService - which forces a call to repository.touch() in line 406 without checking for getIndexAutoCreate (which I set to "no" / "false").

@costin
Copy link
Member

costin commented Aug 18, 2015

Why are using 2.1.0.rc1 instead of the GA? This has been fixed in 2.1.0
dece07a

A simple upgrade should fix this issue

@kjelle
Copy link
Author

kjelle commented Aug 18, 2015

It sure does. Sorry for not noticing. Thanks.

@kjelle kjelle closed this as completed Aug 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants