Add volume support to Java impl
-------------------------------
Key: WHIRR-252
URL: https://issues.apache.org/jira/browse/WHIRR-252
Project: Whirr
Issue Type: Improvement
Components: service/hadoop, service/hbase
Affects Versions: 0.3.0, 0.2.0, 0.1.0, 0.4.0
Reporter: Adrian Cole
Fix For: 0.5.0
It seems the python bindings to Whirr have EBS support:
https://issues.apache.org/jira/browse/WHIRR-3
Let's implement this in the Java implementation. While portable volume support
isn't complete in jclouds, EC2 variants (aws-ec2, eucalyptus) do support EBS
mappings via the Template:
ex. from org.jclouds.ec2.compute.EC2ComputeServiceLiveTest.testMapEBS()
template.getOptions().as(EC2TemplateOptions.class)//
.mapEphemeralDeviceToDeviceName("/dev/sdm", "ephemeral0")//
.mapNewVolumeToDeviceName("/dev/sdn", volumeSize, true)//
.mapEBSSnapshotToDeviceName("/dev/sdo", snapshot.getId(),
volumeSize, true);
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira