elsiklab / jbrowse_elasticsearch

A JBrowse plugin for generating an elasticsearch database and an express.js adaptor for the Names API
6 stars 0 forks source link

NoNodes when calling generate-elastic-search.pl #3

Closed apaytuvi closed 7 years ago

apaytuvi commented 7 years ago

I got the following error:

perl bin/generate-elastic-search.pl --out ../data/data/ --tracks esearch_transcript
[NoNodes] ** No nodes are available: [http://localhost:9200], called from sub Search::Elasticsearch::Client::5_0::Role::Bulk::index at /media/sequentia/synology_server/melonomics/client/JBrowse-1.12.3/jbrowse_elasticsearch/bin/../src/perl5/Bio/JBrowse/Cmd/ElasticSearch.pm line 104.

How can I solve it?

cmdcolin commented 7 years ago

I think that just means that the elasticsearch server isn't running yet. Elasticsearch normally runs a server on port 9200. If you are on ubuntu and you installed elasticsearch via their instructions here https://www.elastic.co/guide/en/elasticsearch/reference/current/deb.html then you can run sudo service elasticsearch start to start it up (that's my preferred way of installing it anyways. there are different ways to install but having it as a system service is the easiest IMO)

cmdcolin commented 7 years ago

Was this ever fixed :)?

apaytuvi commented 7 years ago

Yes, this was fixed. Thank you!