[ 
https://issues.apache.org/jira/browse/GORA-128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ferdy Galema updated GORA-128:
------------------------------

    Attachment:     (was: GORA-128.patch)
    
> HBaseStore should be configurable to work with different qurom other than 
> default one set in hbase-site.xml.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: GORA-128
>                 URL: https://issues.apache.org/jira/browse/GORA-128
>             Project: Apache Gora
>          Issue Type: New Feature
>          Components: storage-hbase
>    Affects Versions: 0.2
>            Reporter: raf shin
>              Labels: gora-hbase
>             Fix For: 0.3
>
>
> gora-hbase should be able to read/write from more than one hbase cluster. so 
> it needs to connect to more than one zookeeper qurom. so when initializing in 
> HbaseStore.initialize(...) we should get the configuration or property from 
> caller and set those properties in the created HBaseConfiguration.
>  @Override
>   public void initialize(Class<K> keyClass, Class<T> persistentClass,
>       Properties properties) throws IOException {
>     super.initialize(keyClass, persistentClass, properties);
>     this.conf = new HBaseConfiguration();
> +
>     String key;
>     while(properties.keys().hasMoreElement()){
>            key = properties.keys().getNext();
>           conf.set(key,properties.keys().get(key));
>    }
>   HBaseAdmin admin = new HBaseAdmin(conf);

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