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

Eric Newton commented on ACCUMULO-249:
--------------------------------------

Starting in 1.4, you can wait on the flush:

{noformat}
username@instance> flush -t bloom_test -w
05 09:51:17,019 [shell.Shell] INFO : Flush of table bloom_test completed.
username@instance> 
{noformat}

And you can use regular expressions to specify the tables:
{noformat}
username@instance > flush -p .* -w
05 09:52:02,037 [shell.Shell] INFO : Flush of table !METADATA completed.
05 09:52:02,038 [shell.Shell] INFO :   May need to flush !METADATA table 
multiple times.
05 09:52:02,038 [shell.Shell] INFO :   Flushing !METADATA causes writes to 
itself and
05 09:52:02,038 [shell.Shell] INFO :   minor compactions, which also cause 
writes to itself.
05 09:52:02,038 [shell.Shell] INFO :   Check the monitor web page and give it 
time to settle.
05 09:52:02,107 [shell.Shell] INFO : Flush of table bloom_test completed.
{noformat}

I'll update the READMEs.
                
> Create org.apache.accumulo.server.util.Flush program to simplify examples.
> --------------------------------------------------------------------------
>
>                 Key: ACCUMULO-249
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-249
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: scripts
>            Reporter: David Medinets
>            Assignee: John Vines
>            Priority: Trivial
>
> The README.bloom file has the following step:
> Below the table is flushed, look at the monitor page and wait for the flush to
> complete.  
>     $ ./bin/accumulo shell -u username -p password
>     username@instance> flush -t bloom_test
>     Flush of table bloom_test initiated...
>     username@instance> exit
> It would be nice to avoid the shell by using:
> bin/accumulo org.apache.accumulo.server.util.Flush -u username -p password -t 
> bloom_test
> Of course, all flush options should be supported. If no table name was 
> provided, could all tables be flushed? And can a comma-delimited list of 
> table be handled?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to