[ https://issues.apache.org/jira/browse/YARN-10045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
chaoli updated YARN-10045: -------------------------- Description: As we all know, hostResolver in hadoop is implemented by *SecurityUitl.getByName*. there are two implements of hostResolver. One is *QualifiedHostResolver*, and the other is *StandardHostResolver*. Both of them doesn't supply circuit breaker when dns server is not available. My question is how can i failover quickly when dns server is not available? since dns server may not always work good. Or , can I just use ip in nodemanager when in registering step to solve dns problem? what are the shortcomings if I use ip instead of host ? was: As we all know, hostResolver in hadoop is implemented by SecurityUitl.getByName. there are two implements of hostResolver. One is QualifiedHostResolver, and the other is StandardHostResolver. Both of them doesn't supply circuit breaker when dns server is not available. My question is how can i failover quickly when dns server is not available? since dns server may not always work good. Or , can I just use ip in nodemanager when in registering step to solve dns problem? what are the shortcomings if I use ip instead of host ? > hostResolver should take DNS server‘s availability into account > --------------------------------------------------------------- > > Key: YARN-10045 > URL: https://issues.apache.org/jira/browse/YARN-10045 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: chaoli > Priority: Major > > As we all know, hostResolver in hadoop is implemented by > *SecurityUitl.getByName*. > there are two implements of hostResolver. One is *QualifiedHostResolver*, and > the other is *StandardHostResolver*. Both of them doesn't supply circuit > breaker when dns server is not available. > My question is how can i failover quickly when dns server is not available? > since dns server may not always work good. Or , can I just use ip in > nodemanager when in registering step to solve dns problem? what are the > shortcomings if I use ip instead of host ? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org