[ https://issues.apache.org/jira/browse/HADOOP-9150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535084#comment-13535084 ]
Todd Lipcon commented on HADOOP-9150: ------------------------------------- The problem here is that, on some DNS setups, even the first lookup takes a lot of time (>5sec) to come back for a host-not-found. A cache wouldn't solve that. Plus, Java already _has_ a cache here internally, so we'd be adding yet another layer of caching which has its downsides. > Unnecessary DNS resolution attempts for logical URIs > ---------------------------------------------------- > > Key: HADOOP-9150 > URL: https://issues.apache.org/jira/browse/HADOOP-9150 > Project: Hadoop Common > Issue Type: Bug > Components: fs/s3, ha, viewfs > Affects Versions: 3.0.0, 2.0.2-alpha > Reporter: Todd Lipcon > Priority: Critical > Attachments: log.txt, tracing-resolver.tgz > > > In the FileSystem code, we accidentally try to DNS-resolve the logical name > before it is converted to an actual domain name. In some DNS setups, this can > cause a big slowdown - eg in one misconfigured cluster we saw a 2-3x drop in > terasort throughput, since every task wasted a lot of time waiting for slow > "not found" responses from DNS. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira