[
https://issues.apache.org/jira/browse/HBASE-23796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17059542#comment-17059542
]
Michael Stack commented on HBASE-23796:
---------------------------------------
Added subtask for making minzkcluster use loopback.
> 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)