You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2020/01/10 07:49:09 UTC

[GitHub] [bookkeeper] liudezhi2098 opened a new issue #2239: In some cases, Bookie obtained the local IP of 127.0.0.1, which caused an abnormal report status.

liudezhi2098 opened a new issue #2239: In some cases, Bookie obtained the local IP of 127.0.0.1, which caused an abnormal report status.
URL: https://github.com/apache/bookkeeper/issues/2239
 
 
   In some cases, Bookie obtained the local IP of 127.0.0.1, which caused an abnormal report status.
   
   get ip method: 
   `InetAddress.getLocalHost().getHostAddress();`
   
   host
   ```
   
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
     ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
   ```
   
   _Although it can be solved by setting up the host, but the customer does not necessarily set it when using it, so if you do not rely on this when obtaining the IP, it will be much more friendly_
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [bookkeeper] eolivelli commented on issue #2239: In some cases, Bookie obtained the local IP of 127.0.0.1, which caused an abnormal report status.

Posted by GitBox <gi...@apache.org>.
eolivelli commented on issue #2239: In some cases, Bookie obtained the local IP of 127.0.0.1, which caused an abnormal report status.
URL: https://github.com/apache/bookkeeper/issues/2239#issuecomment-604923561
 
 
   The fix for this problem is in https://github.com/apache/bookkeeper/pull/2240

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services