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

DOYUNG YOON edited comment on S2GRAPH-23 at 1/11/16 1:06 PM:
-------------------------------------------------------------

[~hyunsung.jo]
refer to my previous comment.

ex) serialize following json object into "configuration_values" column. 
{code:borderStyle=solid}
{"hbase_table_name": "s2graph-dev", "compression_algorithm": "lz4", 
"hbase_ttl": 60000}
{code}

when fetch data from RDBMS, deserialize by parsing "configuration_values" 
column string into Json object.


was (Author: steamshon):
[~hyunsung.jo]
refer to previous my comment.

ex) serialize following json object into "configuration_values" column. 
{code:borderStyle=solid}
{"hbase_table_name": "s2graph-dev", "compression_algorithm": "lz4", 
"hbase_ttl": 60000}
{code}

when fetch data from RDBMS, deserialize by parsing "configuration_values" 
column string into Json object.

> Abstract HBase specific options from Label meta table columns
> -------------------------------------------------------------
>
>                 Key: S2GRAPH-23
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-23
>             Project: S2Graph
>          Issue Type: Improvement
>            Reporter: DOYUNG YOON
>            Priority: Minor
>              Labels: Configuration, refactoring
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Currently Label(meta) has hbase_table_name, hbase_ttl, compression_algorithm 
> configuration value as column in Label table. 
> I think it is inevitable to store these configuration value, but current 
> implementation is too hbase specific. for example, redis storage might not 
> use hbase_table_name on label. I think it is better to store json dictionary 
> containing configuration values as column on Label. 
> Little bit of background of this issue is following.
> I was up to implement secure cluster support and realize it is hard to add 
> extra configuration for HBase. I think Redis storage(S2GRAPH-1) has similar 
> issues that it needs to store redis specific configuration per label. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to