accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-4050) Serialize table configs into a single ZK node
Date Mon, 12 Sep 2016 22:22:20 GMT


Christopher Tubbs commented on ACCUMULO-4050:

After some thought, I don't think we actually need a hierarchy of config containers (though,
it might help to visualize it that way). We just need code that knows how to create the hierarchy
in the snapshots, when the snapshot is requested. This can be done based on the type The snapshot
can be provided directly from the ServerConfigurationFactory.

So, what we need is:

* The ServerConfigurationFactory is a big bag of configuration containers, each corresponding
to a single ZK path.
* The getSnapshot methods on the factory know how to construct a hierarchy of snapshots from
the relevant containers' current contents.

> Serialize table configs into a single ZK node
> ---------------------------------------------
>                 Key: ACCUMULO-4050
>                 URL:
>             Project: Accumulo
>          Issue Type: Sub-task
>            Reporter: Christopher Tubbs
>             Fix For: 2.0.0
> Use a single ZK node to store table configs, rather than split across multiple configs.
This should make it easier to implement atomic changes to the configuration, and should simplify
reading loading/saving configuration from/to ZooKeeper.

This message was sent by Atlassian JIRA

View raw message