You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Mark Robert Miller (Jira)" <ji...@apache.org> on 2020/03/01 19:57:00 UTC

[jira] [Commented] (HBASE-23796) Consider using 127.0.0.1 instead of localhost and binding to 127.0.0.1 as well.

    [ https://issues.apache.org/jira/browse/HBASE-23796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17048662#comment-17048662 ] 

Mark Robert Miller commented on HBASE-23796:
--------------------------------------------

I still think this is a good, developer friendly change, but lowering on my priority list for a bit.

This was helping some major problems I was hitting in the tests, but likely because I had not changed everything to use 127.0.0.1 yet and so it was giving me more ports to work with, which staved off the large connection leak from eating all the ports, which allowed tests to run fast and well longer.

> Consider using 127.0.0.1 instead of localhost and binding to 127.0.0.1 as well.
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-23796
>                 URL: https://issues.apache.org/jira/browse/HBASE-23796
>             Project: HBase
>          Issue Type: Test
>            Reporter: Mark Robert Miller
>            Priority: Minor
>
> This is perhaps controversial, but there are a variety of problems with counting on dns hostname resolution, especially for locahost.
>  
>  # It can often be slow, slow under concurrency, or slow under specific conditions.
>  # It can often not work at all - when on a VPN, with weird DNS hijacking hi-jinks, when you have a real hostname for you machines, a custom /etc/hosts file, OS's run their own local/funny DNS server services.
>  # This makes coming to HBase for new devs a hit or miss experience and if you miss, dealing with an diagnosing the issues is a large endeavor and not straight forward or transparent.
>  #  99% of the difference doesn't matter in most cases - except that 127.0.0.1 works and is fast pretty much universally.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)