You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pulsar.apache.org by Apache Pulsar Slack <ap...@gmail.com> on 2018/07/29 09:11:02 UTC

Slack digest for #general - 2018-07-29

2018-07-29 02:50:13 UTC - Poule: I've setup Pulsar on DC/OS on DigitalOcean using the [docs](<http://pulsar.incubator.apache.org/docs/latest/deployment/dcos/>) and the bookies service keeps killing itself, error I see in the logs is 
```02:38:03.073 [main] WARN  org.apache.bookkeeper.net.DNS - Unable to determine local hostname -falling back to "localhost"
java.net.UnknownHostException: digitalocean-dcos-agent-01: digitalocean-dcos-agent-01: Name or service not known```

and 
```
02:38:03.115 [main] ERROR org.apache.bookkeeper.server.Main - Failed to build bookie server
java.net.UnknownHostException: Trying to listen on loopback address, 127.0.0.1:3181 but this is forbidden by default (see ServerConfiguration#getAllowLoopback())
```
So I guess I have to fix the hostname somewhere but I don't know where
----
2018-07-29 03:35:30 UTC - Sijie Guo: @Poule it seems it try to resolve “digitalocean-dcos-agent-01” but it fails to resolve, then fallback to localhost. but localhost is forbidden. localhost is only meaningful for development purpose.

not very familiar with DCOS. @jia zhai contributed the dcos script, he might be able to help you.
----
2018-07-29 07:25:41 UTC - jia zhai: @Poule right, it is as @Sijie Guo mentioned. “digitalocean-dcos-agent-01” seems could not get resolved. The deploy is trying to make it easy, so all network is in “HOST” mode.  It should be easy to config.
----