accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-3176) Add ability to create a table with user specified initial properties
Date Thu, 23 Oct 2014 03:20:33 GMT

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

Sean Busbey commented on ACCUMULO-3176:
---------------------------------------

{quote}
Are we at least in agreement that allowing properties at table creation do mitigate the potential
race condition? We would definitely need something more heavy-handed to properly fix this
(or we'd have to do away with ZooCache...) that is probably out of scope for this issue specifically.
{quote}

No, because it only solves one race condition. It leaves people prone to needing to redo a
table entirely because they didn't realize they had to set the property at creation time.
Or worse, it leaves them unaware that they are in this state.

{quote}
It's not clear to me how this would work either. You could probably invalidate the table properties
when a tablet is loaded on a tserver, which would encompass the offline->online transition.
I think that could work. I don't like the story of "just offline and re-online your table
to make sure configuration propagates". That's really nasty.
{quote}

It's not nasty if you can only set properties when it's offline. That would mean the story
is "In order to ensure a consistent view of per-table configuration properties you can only
alter them when the table is offline. When the table is brought online each tablet server
will properly reflect the updated property."

If I forgot to set something at creation time, I can follow a procedure to ensure I have a
consistent set of properties. That might get more complicated if I need better assurances
(like doing an offline MR job to verify the extant data is consistent with some constraint
I want to add), but atleast there's a usable path that isn't "you have to create a new table
and set the properties then."

> Add ability to create a table with user specified initial properties
> --------------------------------------------------------------------
>
>                 Key: ACCUMULO-3176
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3176
>             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
(v6.3.4#6332)

Mime
View raw message