accumulo-notifications mailing list archives

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

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

Keith Turner commented on ACCUMULO-3176:
----------------------------------------

bq. Why not instead add the ability to wait for a set of properties to have been seen by all
tservers? That solves more use cases and doesn't change the table creation api.

Even if set props waits that still does not solve the following problem.

 # Thread 1 creates table foo
 # Thread 2 writes some bad data to table foo and it succeeds  
 # Thread 1 adds a constraint to table foo using a new synchronous set props method
 # Thread 1 writes some bad data to table foo and it fails

It seems like create table w/ props would avoid this problem

 # Thread 1 creates table foo w/ constraint 
 # Thread 2 writes some bad data to table foo and it fails
 # Thread 1 writes some bad data to table foo and it fails

> 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