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

Ted Yu commented on HBASE-12557:
--------------------------------

Browsed through hadoop tests, such as TestJobHistoryParsing, which use custom 
resolver.
In the new test for this JIRA, I can issue long I/O operation in the resolve() 
method and see if the cancellation works.

> Introduce timeout mechanism for IP to rack resolution
> -----------------------------------------------------
>
>                 Key: HBASE-12557
>                 URL: https://issues.apache.org/jira/browse/HBASE-12557
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>         Attachments: 12557-v1.txt
>
>
> Config parameter, "hbase.util.ip.to.rack.determiner", determines the class 
> which does IP to rack resolution.
> The actual resolution may be lengthy.
> This JIRA is continuation of HBASE-12554 where a mock DNSToSwitchMapping is 
> used for rack resolution.
> A timeout parameter, "hbase.ip.to.rack.determiner.timeout", is proposed whose 
> value governs the duration which RackManager waits before rack resolution is 
> stopped.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to