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

Clustering - broker/data alone couldn't start #2437

Closed
julienmathevet opened this issue Apr 27, 2015 · 5 comments
Closed

Clustering - broker/data alone couldn't start #2437

julienmathevet opened this issue Apr 27, 2015 · 5 comments
Assignees
Milestone

Comments

@julienmathevet
Copy link

If I set data enabled=false the influxdb couldn't start. Log:

failed to start reporting because not running as a broker and a data node

0.9-rc27

@julienmathevet julienmathevet changed the title Clustering - broker alone couldn't start Clustering - broker/data alone couldn't start Apr 27, 2015
@julienmathevet
Copy link
Author

Same if I set a first machine with broker and data node and second one if I set only data enabled

[srvr] 2015/04/27 13:42:15 influxdb started, version 0.9.0-rc27, commit c887dfe2a86ca7dc6a06710b6a787d37734a23b4
[srvr] 2015/04/27 13:42:15 Cluster server listening on [::]:8086
[srvr] 2015/04/27 13:42:15 data node(0) opened at /var/opt/influxdb/db
[messaging] 2015/04/27 13:42:15 connected to broker: http://172.17.0.2:8086/messaging/messages?index=3&streaming=true&topicID=0
[srvr] 2015/04/27 13:42:16 join: failed to connect data node: http://localhost:8086: unable to join
[srvr] 2015/04/27 13:42:16 join: failed to connect data node to any specified serv

@jwilder
Copy link
Contributor

jwilder commented Apr 27, 2015

Try adding:

reporting-disabled = true

to your broker config.

@julienmathevet
Copy link
Author

ok it is working in disable reporting

but if you dont set hostname in data node, it registered with localhost, Then if you set it, broker continue to hitting it:

broker cq: error hitting data node: http://localhost:8086: request returned status 307 Temporary Redirect

@jwilder
Copy link
Contributor

jwilder commented Apr 27, 2015

You'll need to wipe out your data dirs and restart w/ the correct hostname. #1471 is not implemented yet so there is no way to remove a node yet.

@beckettsean beckettsean added this to the 0.9.0 milestone Apr 30, 2015
@jwilder jwilder self-assigned this May 1, 2015
@toddboom toddboom modified the milestones: 0.9.0, 0.9.1 May 8, 2015
@toddboom toddboom modified the milestones: 0.9.1, 0.9.2 Jun 5, 2015
@otoolep
Copy link
Contributor

otoolep commented Jun 23, 2015

Brokers are no longer part of the design - closing this issue.

@otoolep otoolep closed this as completed Jun 23, 2015
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

5 participants