accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-3176) Add ability to create a table with user specified initial properties
Date Wed, 22 Oct 2014 20:18:35 GMT


Josh Elser commented on ACCUMULO-3176:

bq. Couldn't the RPC for setting configuration on a table tell all the tservers to drop cached
entries related to said configuration change

Can you be more specific on how you see that working? I can't think of a simple way that wouldn't
still be a broadcast to all servers. We could probably hide something inside the implementation
for setProperty on {{TableOperationsImpl}} but someone will still have to reach out and talk
to each tabletserver (whether client, master, or a tserver). A FATE operation could probably
be used to wait for it to happen, but the master would just be doing the RPC then. The other
option would be using ZooKeeper to broadcast that, but we've just looped onto the same problem
we were trying to solve at that point :). We could potentially have the master delegate to
other tservers to tell other tservers to drop their ZooCache for this table (akin to how bulk-loading
delegation works) but that's rather complex and scary.

Trying to make sure that all possible servers see an update seems more complex to me than
just allowing properties to be provided at table creation time before the servers even know
about that table.

> Add ability to create a table with user specified initial properties
> --------------------------------------------------------------------
>                 Key: ACCUMULO-3176
>                 URL:
>             Project: Accumulo
>          Issue Type: Sub-task
>            Reporter: Jenna Huston
>            Assignee: Jenna Huston
> This change would allow for table properties to be set before the default tablet is created.
 Instead of just adding a new create method, a NewTableConfiguration class could be created
and passed and the other create methods deprecated.

This message was sent by Atlassian JIRA

View raw message