[GitHub] [pulsar] jiazhai commented on issue #5749: Bookie does not start because of UnknownHostException

2019-12-15 Thread GitBox
jiazhai commented on issue #5749: Bookie does not start because of 
UnknownHostException
URL: https://github.com/apache/pulsar/issues/5749#issuecomment-565945422
 
 
   @vishalananth07 there was also a setting in pulsar broker.conf called 
`advertisedAddress` would you please try to set it as your _ip_address? and 
then reboot the broker.
   From the error log. seems it is trying to use hostname 
"masterfyp-HP-Compaq-Pro-6305-SFF".
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] jiazhai commented on issue #5749: Bookie does not start because of UnknownHostException

2019-12-15 Thread GitBox
jiazhai commented on issue #5749: Bookie does not start because of 
UnknownHostException
URL: https://github.com/apache/pulsar/issues/5749#issuecomment-565938390
 
 
   @vishalananth07 It should be working on any computer that could telnet these 
x.x.x.x:6650/8080


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] jiazhai commented on issue #5749: Bookie does not start because of UnknownHostException

2019-12-15 Thread GitBox
jiazhai commented on issue #5749: Bookie does not start because of 
UnknownHostException
URL: https://github.com/apache/pulsar/issues/5749#issuecomment-565928443
 
 
   @vishalananth07 sorry, not notice that you are using 3 nodes. For 3 nodes, 
you should not change `allowLoopback` to `true`.
   How about a try on this? 
   ```
   allowLoopback=false
   advertisedAddress=you_bookie_address
   useHostNameAsBookieID=false
   ```
   Then in a clean deploy, all bookie nodess should be identified by their 
IP:3181
   
   
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [pulsar] jiazhai commented on issue #5749: Bookie does not start because of UnknownHostException

2019-11-26 Thread GitBox
jiazhai commented on issue #5749: Bookie does not start because of 
UnknownHostException
URL: https://github.com/apache/pulsar/issues/5749#issuecomment-558918815
 
 
   @vishalananth07 regarding this issue:
   ```
   [main] ERROR org.apache.bookkeeper.server.Main - Failed to build bookie 
server
   java.net.UnknownHostException: Trying to listen on loopback address, 
127.0.1.1:3181 but this is forbidden by default (see 
ServerConfiguration#getAllowLoopback()).
   ```
   this is because listen on 127.0.0.1 while you are setting 
"allowLoopback=false" in bookkeeper.conf.
   you could try to set `useHostNameAsBookieID=true` in bookkeeper.conf


This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services