You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "David Medinets (Created) (JIRA)" <ji...@apache.org> on 2012/01/05 15:45:39 UTC
[jira] [Created] (ACCUMULO-249) Create
org.apache.accumulo.server.util.Flush program to simplify examples.
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
[jira] [Commented] (ACCUMULO-249) Create
org.apache.accumulo.server.util.Flush program to simplify examples.
Posted by "Eric Newton (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (ACCUMULO-249) Create
org.apache.accumulo.server.util.Flush program to simplify examples.
Posted by "David Medinets (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180439#comment-13180439 ]
David Medinets commented on ACCUMULO-249:
-----------------------------------------
If this improvement makes sense, then I'd also like to see util classes developed for setauths and createtable. Probably every command in the accumulo shell should be replicated in the util class?
> 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
[jira] [Updated] (ACCUMULO-249) Create
org.apache.accumulo.server.util.Flush program to simplify examples.
Posted by "Eric Newton (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Newton updated ACCUMULO-249:
---------------------------------
Summary: Create org.apache.accumulo.server.util.Flush program to simplify examples. (was: Use new "-w" option when flushing to simplify examples.)
> 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: Eric Newton
> 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
[jira] [Commented] (ACCUMULO-249) Create
org.apache.accumulo.server.util.Flush program to simplify examples.
Posted by "Keith Turner (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180459#comment-13180459 ]
Keith Turner commented on ACCUMULO-249:
---------------------------------------
Could add a -e option to the shell, then could do the following.
accumulo shell -u user -p pass -e 'flush -w -t bloom'
> 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: Eric Newton
> 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
[jira] [Updated] (ACCUMULO-249) Use new "-w" option when flushing
to simplify examples.
Posted by "Eric Newton (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Newton updated ACCUMULO-249:
---------------------------------
Summary: Use new "-w" option when flushing to simplify examples. (was: Create org.apache.accumulo.server.util.Flush program to simplify examples.)
> Use new "-w" option when flushing 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: Eric Newton
> 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
[jira] [Commented] (ACCUMULO-249) Create
org.apache.accumulo.server.util.Flush program to simplify examples.
Posted by "Keith Turner (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180468#comment-13180468 ]
Keith Turner commented on ACCUMULO-249:
---------------------------------------
The shell currently supports the following.
echo 'flush -w -t bloom' | accumulo shell -u user -p pass
The example could be changed to this.
> 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: Eric Newton
> 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
[jira] [Assigned] (ACCUMULO-249) Create
org.apache.accumulo.server.util.Flush program to simplify examples.
Posted by "Eric Newton (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Newton reassigned ACCUMULO-249:
------------------------------------
Assignee: Eric Newton (was: John Vines)
> 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: Eric Newton
> 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
[jira] [Commented] (ACCUMULO-249) Create
org.apache.accumulo.server.util.Flush program to simplify examples.
Posted by "Eric Newton (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180481#comment-13180481 ]
Eric Newton commented on ACCUMULO-249:
--------------------------------------
I've been wanting the '-e' option for a long time, anyhow.
> 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: Eric Newton
> 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
[jira] [Commented] (ACCUMULO-249) Use new "-w" option when flushing
to simplify examples.
Posted by "Eric Newton (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13180445#comment-13180445 ]
Eric Newton commented on ACCUMULO-249:
--------------------------------------
Oh, now that I look at the README.bloom, I see that it does most of its work using the command line. I like your idea for creating a Flush utility.
> Use new "-w" option when flushing 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: Eric Newton
> 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
[jira] [Resolved] (ACCUMULO-249) Create
org.apache.accumulo.server.util.Flush program to simplify examples.
Posted by "Eric Newton (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Newton resolved ACCUMULO-249.
----------------------------------
Resolution: Fixed
> 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: Eric Newton
> 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