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

Graham Gear commented on WHIRR-672:
-----------------------------------

Attached an example implementation:

https://issues.apache.org/jira/secure/attachment/12550341/WHIRR-672_VERSION_1.patch

This patch helps both the development of WHIRR-671 and 
https://github.com/cloudera/whirr-cm.
                
> Allow eager caching of instance hostname based on pre-provision instance 
> metadata 
> ----------------------------------------------------------------------------------
>
>                 Key: WHIRR-672
>                 URL: https://issues.apache.org/jira/browse/WHIRR-672
>             Project: Whirr
>          Issue Type: Improvement
>          Components: core
>            Reporter: Graham Gear
>            Assignee: Graham Gear
>            Priority: Minor
>         Attachments: WHIRR-672_VERSION_1.patch
>
>
> Allow eager caching of instance hostname based on pre-provision instance 
> metadata.
> This would be nice when running the dry run test-harness against services 
> which require host name lookups, avoiding long blocking timeouts on DNS with 
> nonexistent hostnames, dramatically improving unit test run times.
> It is expected this pre-cache will only be executed by non-production code 
> paths, eg unit tests.

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

Reply via email to