accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-875) add list compactions command to shell
Date Fri, 18 Jan 2013 23:58:14 GMT

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

Hudson commented on ACCUMULO-875:
---------------------------------

Integrated in Accumulo-Trunk #649 (See [https://builds.apache.org/job/Accumulo-Trunk/649/])
    ACCUMULO-875 added API and shell command for listing active compactions on a tablet server
(Revision 1435371)

     Result = SUCCESS
kturner : 
Files : 
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/admin/ActiveCompaction.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/admin/InstanceOperations.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/admin/InstanceOperationsImpl.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/client/mock/MockInstanceOperations.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/ActiveCompaction.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/CompactionReason.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/CompactionType.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/IteratorConfig.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TIteratorSetting.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/tabletserver/thrift/TabletClientService.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/shell/Shell.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ActiveCompactionIterator.java
* /accumulo/trunk/core/src/main/java/org/apache/accumulo/core/util/shell/commands/ListCompactionsCommand.java
* /accumulo/trunk/core/src/main/thrift/tabletserver.thrift
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/Compactor.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/MinorCompactor.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/Tablet.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServer.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/tabletserver/TabletServerResourceManager.java
* /accumulo/trunk/server/src/main/java/org/apache/accumulo/server/test/performance/thrift/NullTserver.java

                
> add list compactions command to shell
> -------------------------------------
>
>                 Key: ACCUMULO-875
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-875
>             Project: Accumulo
>          Issue Type: New Feature
>            Reporter: Keith Turner
>            Assignee: Keith Turner
>             Fix For: 1.5.0
>
>
> The shell currently has a list scans command which is very useful for debugging.  Another
command that would be useful is list compactions.   
> The things that would be useful to know about a running compaction are the following
:
>  
>  * Tablet server
>  * Age
>  * State (if showing queued compactions)
>  * Type (User, Chop, System, Idle)
>  * Tablet
>  * Iterator info (iterators could have changed since it started and there are per compaction
iterators)
>  * Input files
>  * Output file
>  * Rate
>  * Key/values read so far (could do bytes also)
>  * Key/values written so far (could do bytes also)
>  * Locality group compacting
> Could consider using JMX to collect this info from tablet servers.   List scans currently
uses a thrift call to get its info from tablet servers.   Making the info available via JMX
would enable other tools to use the information. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message