Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 880FF18C24 for ; Fri, 19 Feb 2016 13:50:19 +0000 (UTC) Received: (qmail 18263 invoked by uid 500); 19 Feb 2016 13:50:18 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 18196 invoked by uid 500); 19 Feb 2016 13:50:18 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 17764 invoked by uid 99); 19 Feb 2016 13:50:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2016 13:50:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 677FA2C1F71 for ; Fri, 19 Feb 2016 13:50:18 +0000 (UTC) Date: Fri, 19 Feb 2016 13:50:18 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4138) CompactCommand description is incorrect MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-4138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15154227#comment-15154227 ] ASF GitHub Bot commented on ACCUMULO-4138: ------------------------------------------ Github user mjwall commented on the pull request: https://github.com/apache/accumulo/pull/71#issuecomment-186220852 Pushed update of "(NOT) inclusive" description to "(exclusive)". > CompactCommand description is incorrect > --------------------------------------- > > Key: ACCUMULO-4138 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4138 > Project: Accumulo > Issue Type: Bug > Components: shell > Affects Versions: 1.6.4, 1.7.0 > Reporter: Michael Wall > Assignee: Michael Wall > Labels: newbie > Fix For: 1.6.6, 1.7.2, 1.8.0 > > > The compact command has the following description > {code} > root@accumulo> compact -? > usage: compact [{
}] [-?] [-b ] [--cancel] [-e ] [-nf] [-ns | -p | -t ] [-pn ] [-w] > description: sets all tablets for a table to major compact as soon as possible (based on current time) > -?,--help display this help > -b,--begin-row begin row (inclusive) > --cancel cancel user initiated compactions > -e,--end-row end row (inclusive) > -nf,--noFlush do not flush table data in memory before compacting. > -ns,--namespace name of a namespace to operate on > -p,--pattern regex pattern of table names to operate on > -pn,--profile iterator profile name > -t,--table name of a table to operate on > -w,--wait wait for compact to finish > {code} > However, the --begin-row is not inclusive. Here is a simple demonstration. > {code} > createtable compacttest > addsplits a b c > insert "a" "1" "" "" > insert "a" "2" "" "" > insert "b" "3" "" "" > insert "b" "4" "" "" > insert "c" "5" "" "" > insert "c" "6" "" "" > flush -w > scan -t accumulo.metadata -np > compact -b a -e c -t compacttest -w > scan -t accumulo.metadata -np > deletetable compacttest -f > {code} > You will see that file associated with the 'a' split is still a F flush file, which the files in the 'b' and 'c' split are A files. > Not sure if the fix is to update the commands description, which would be easy, or to make the begin row actually inclusive. -- This message was sent by Atlassian JIRA (v6.3.4#6332)