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

Error when trying to import data, using the binary file. #10

Open
blumonkey opened this issue May 9, 2016 · 4 comments
Open

Error when trying to import data, using the binary file. #10

blumonkey opened this issue May 9, 2016 · 4 comments

Comments

@blumonkey
Copy link

Hello,

I managed to install elasticsearch and have it up and running at localhost:9200. But when I try to import data by following the readme:

$ curl -XPOST localhost:8080/admin/setup -d@samples/example.json

I get the following error.

{"error":"2016-05-09 16:59:12.436297591 +0530 IST: Error [map[root_cause:[map[type:illegal_argument_exception reason:Mapper for [Project] conflicts with existing mapping in other types:
[mapper [Project] has different [index] values, mapper [Project] has different [omit_norms] values, cannot change from disable to enabled, mapper [Project] has different [analyzer], mapper [Project] is used by multiple types. Set update_all_types to true to update [omit_norms] across all types., mapper [Project] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types., mapper [Project] is used by multiple types. Set update_all_types to true to update [search_quote_analyzer] across all types.]]] type:illegal_argument_exception reason:Mapper for [Project] conflicts with existing mapping in other types:
[mapper [Project] has different [index] values, mapper [Project] has different [omit_norms] values, cannot change from disable to enabled, mapper [Project] has different [analyzer], mapper [Project] is used by multiple types. Set update_all_types to true to update [omit_norms] across all types., mapper [Project] is used by multiple types. Set update_all_types to true to update [search_analyzer] across all types., mapper [Project] is used by multiple types. Set update_all_types to true to update [search_quote_analyzer] across all types.]]] Status [400] [400]"}

I specifically mention binary file as I haven't tried it using any other method (See Issue #9 ). Any help is appreciated. Thanks in advance!

@chrisvaughn
Copy link

I've found you can't use the latest versions of ElasticSearch with Hive. Hive hasn't been updated in a while and is using some deprecated features of ES. Last time I set it up I looked at dates of the last commit to the project and then found which ES release matched those dates and installed that version.

@blumonkey
Copy link
Author

blumonkey commented May 9, 2016

@chrisvaughn
Oh. Do you have any idea what that version would be or where I can find that out? Or better, do you know any other frameworks(latest) for building crowd-sourcing platforms (preferably with MIT or Apache License)?

Thanks for the tip!

Edit: Found the version - 1.4.2 works

@chrisvaughn
Copy link

@blumonkey looks like we are running 1.4.5. I imagine anything in 1.x releases would work, I think it's goes up to 1.7 before they focused on 2.x. I don't know of any other frameworks like this. I wish this project was active.

@justinoverton
Copy link

I ran into this also. Could you update the readme to clarify the required version?

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

3 participants