You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Adrian Cole (JIRA)" <ji...@apache.org> on 2011/04/14 18:13:05 UTC

[jira] [Commented] (WHIRR-279) Create ClusterSpec aware BlobStoreContext factory class

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

Adrian Cole commented on WHIRR-279:
-----------------------------------

@andrei even within the same provider, the location ids between compute and blobstore can be different.  Ex. in S3 there is us-standard location which is "" and implicitly including ec2 east and west.

The challenge is this..  use node.getLocation.isoCodes()  then.. search through blobstore.getAssignableLocations until you find one that has the same codes as node has.  This will get you the right location in a portable way.

> Create ClusterSpec aware BlobStoreContext factory class
> -------------------------------------------------------
>
>                 Key: WHIRR-279
>                 URL: https://issues.apache.org/jira/browse/WHIRR-279
>             Project: Whirr
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>             Fix For: 0.5.0
>
>         Attachments: WHIRR-279.patch, WHIRR-279.patch
>
>
> Add a new factory class that could be used to create BlobStoreContext instances based on configuration options provided by ClusterSpec. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira