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/02/04 17:26:00 UTC

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

Mark Robert Miller created HBASE-23796:
------------------------------------------

             Summary: 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


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)