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

Add explicit instructions to run elastic search to readme. #6

Open
jackiekazil opened this issue Dec 11, 2014 · 0 comments
Open

Add explicit instructions to run elastic search to readme. #6

jackiekazil opened this issue Dec 11, 2014 · 0 comments

Comments

@jackiekazil
Copy link

I would have submitted this as a pull request, but I am not sure if you had a preferred way of doing this or an opinion on where this should go in the Readme.


When importing data, I got a connection error and realized it was because I didn't have Elastic search running. Maybe add something to the Setup section?

Details if you decide to add something specific to the readme.....

If you get this error while importing data:

{"error":"Put http://localhost:9200/hive/assignments/_mapping: dial tcp 127.0.0.1:9200: connection refused"}

Make sure that elastic search is running. From the Homebrew Elastic Search install:

To have launchd start elasticsearch at login:
    ln -sfv /usr/local/opt/elasticsearch/*.plist ~/Library/LaunchAgents
Then to load elasticsearch now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.elasticsearch.plist
Or, if you don't want/need launchctl, you can just run:
    elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml
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

1 participant