accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: TableOperations.setProperty() not setting property
Date Fri, 09 Jan 2015 00:46:09 GMT
30-60s is *very* generous. A few seconds should be sufficient. Also, 
this is only relevant if you have more than one tabletserver.

Versions and/or actual shell commands that you can reproduce this doing?

Mike Drob wrote:
> Ara,
>
> There is sometimes propogation delay in setting the properties, since
> they have to go through zookeeper and then out to the tablet servers.
>
> Try waiting 30 or 60 seconds before checking, and see if that changes
> things.
>
> Mike
>
> On Thu, Jan 8, 2015 at 6:07 PM, Ara Ebrahimi
> <ara.ebrahimi@argyledata.com <mailto:ara.ebrahimi@argyledata.com>> wrote:
>
>     Hi,
>
>     I’m trying to set a few properties for a table “programmatically”
>     right after I create that table (using accumulo shell). I use
>     TableOperations.setProperty(). But then when I use the config
>     command from accumulo shell I don’t see anything reflected there. It
>     still holds the old default/site values. If I pass invalid values it
>     does fail, so seems like it actually receives the request and
>     validates it. But it does’t seem to persist it. I’ve tried a few
>     different properties and none seem to stick. Do I need to flush the
>     config somehow?
>
>     I assume I can set these properties right after creating table only.
>     I mean, what happens if I set a property like table.split.threshold
>     after populating the table? There’s no command for setting these
>     properties from accumulo shell other than the option to copy config
>     from another table when executing create table.
>
>     Thanks,
>     Ara.
>
>
>
>     ________________________________
>
>     This message is for the designated recipient only and may contain
>     privileged, proprietary, or otherwise confidential information. If
>     you have received it in error, please notify the sender immediately
>     and delete the original. Any other use of the e-mail by you is
>     prohibited. Thank you in advance for your cooperation.
>
>     ________________________________
>
>

Mime
View raw message