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

Adrian Cole commented on WHIRR-189:
-----------------------------------

one note about the patch.  

The following is incorrect:
+      // However, you can only make that call if you know that the image is
+      // EBS-backed, and there is no way to find this out (before launch) in
+      // jclouds at present

After you build a template, but before you create the nodes, you can check the 
image in the resolved template.  

For example, we are already doing something similar in 

BootstrapTemplate.setSpotInstancePriceIfSpecified

basically, we can add BootstrapTemplate.mapEphemeralIfImageIsEBSBacked
   if (EC2ImagePredicates.rootDeviceType(EBS)){
       template.getOptions().as(EC2TemplateOptions.class)
               .mapEphemeralDeviceToDeviceName("/dev/sdc", "ephemeral1");
   }

I think the above is the missing link in this patch.  I hope it helps!
                
> Hadoop on EC2 should use all available local storage
> ----------------------------------------------------
>
>                 Key: WHIRR-189
>                 URL: https://issues.apache.org/jira/browse/WHIRR-189
>             Project: Whirr
>          Issue Type: Improvement
>          Components: service/hadoop
>            Reporter: Tom White
>             Fix For: 0.9.0
>
>         Attachments: WHIRR-189.patch, WHIRR-189.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to