Blueflood Annotations | org.elasticsearch.client.transport.NoNodeAvailableException

48 views
Skip to first unread message

sri harsha

unread,
Nov 21, 2016, 10:46:19 AM11/21/16
to Blueflood Discuss
Dear Blueflood team, 

I have been using blueflood with rollup ingest and query modules active. However, I have to use annotations now and achieve the same in grafana UI also.

I have set EVENTS_MODULES=com.rackspacecloud.blueflood.io.EventElasticSearchIO

and did a sample event ingest
curl -i -X POST 'http://localhost:19000/v2.0/100/events' -d '{"what":"test.metric.annotation","when":1479737022219,"tags":"tag","data":"data"}'

However, I am getting errors! Please find the stack trace below.
---------------------------------------------------------------------
ERROR entsIngestionHandler:99  - Exception org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []
org.elasticsearch.client.transport.NoNodeAvailableException: None of the configured nodes are available: []
        at org.elasticsearch.client.transport.TransportClientNodesService.ensureNodesAreAvailable(TransportClientNodesService.java:305)
        at org.elasticsearch.client.transport.TransportClientNodesService.execute(TransportClientNodesService.java:200)
        at org.elasticsearch.client.transport.support.InternalTransportClient.execute(InternalTransportClient.java:106)
        at org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:167)
        at org.elasticsearch.client.transport.TransportClient.bulk(TransportClient.java:370)
        at org.elasticsearch.action.bulk.BulkRequestBuilder.doExecute(BulkRequestBuilder.java:166)
        at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:91)
        at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:65)
        at com.rackspacecloud.blueflood.io.EventElasticSearchIO.insert(EventElasticSearchIO.java:72)
        at com.rackspacecloud.blueflood.inputs.handlers.HttpEventsIngestionHandler.handle(HttpEventsIngestionHandler.java:85)
        at com.rackspacecloud.blueflood.http.RouteMatcher.route(RouteMatcher.java:194)
        at com.rackspacecloud.blueflood.http.RouteMatcher.route(RouteMatcher.java:125)
        at com.rackspacecloud.blueflood.http.QueryStringDecoderAndRouter.messageReceived(QueryStringDecoderAndRouter.java:42)
        at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
        at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
        at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)

sri harsha

unread,
Nov 22, 2016, 9:56:03 AM11/22/16
to Blueflood Discuss
Dear Team, I fixed it.. 

It is because I did not have ElasticSearch 1.7 configured. (Necessary to have ElasticSearch 1.7 running... )

BTW the github link to install ElasticSearch1.7 is not working. Get the same from ElasticSearch (index) website older entries.

Thanks,
Sri

Vinny Ly

unread,
Nov 28, 2016, 1:09:19 PM11/28/16
to Blueflood Discuss
Hi Sri, thanks for bringing the github link issue to our attention.  Will get the team to fix it.
Reply all
Reply to author
Forward
0 new messages