Return-Path: X-Original-To: apmail-accumulo-user-archive@www.apache.org Delivered-To: apmail-accumulo-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8771918255 for ; Fri, 31 Jul 2015 01:36:45 +0000 (UTC) Received: (qmail 89492 invoked by uid 500); 31 Jul 2015 01:36:45 -0000 Delivered-To: apmail-accumulo-user-archive@accumulo.apache.org Received: (qmail 89444 invoked by uid 500); 31 Jul 2015 01:36:45 -0000 Mailing-List: contact user-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@accumulo.apache.org Delivered-To: mailing list user@accumulo.apache.org Received: (qmail 89434 invoked by uid 99); 31 Jul 2015 01:36:45 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2015 01:36:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AEC971A92F0 for ; Fri, 31 Jul 2015 01:36:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.9 X-Spam-Level: ** X-Spam-Status: No, score=2.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id yu1GIU6uFzsT for ; Fri, 31 Jul 2015 01:36:39 +0000 (UTC) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id B828420B6F for ; Fri, 31 Jul 2015 01:36:38 +0000 (UTC) Received: by wicmv11 with SMTP id mv11so40502572wic.0 for ; Thu, 30 Jul 2015 18:36:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PV1j8Lx9qtRg8dTQXUy6wibpw4Jc+0Ilhlkp8ETw47M=; b=X4Xqabhwb3HtBSAKrsO48EDm34BcIYO2BfSbcRNolRa1SfKelW0exIdIV1KvmPb8U4 0omWNMUqn7hXbC4upAXNoKB7YcjrIWXCYSVAECkTE+mcf3Tt/maxd3f2TteegktrmDtL 8Uvvkv4BmBrYiHC6xyIMFyjsCb7DeOkOi1EvxzIFLK9DkHkGYDFbn3tmdhAp53NtNADK hy6FN2ARw65m5xwwEdeWY7v5Ci4wJd4CXaQc05hmvCRTXmSvgnzPBpla4Dye+Q6m5gkC Xg1FP+JqJ7j8OVHfdotewjqrq9KHILioRPskwECOqKWrlpoDp+zDHEweyF9vk5+awNwD aHFg== MIME-Version: 1.0 X-Received: by 10.194.172.130 with SMTP id bc2mr473187wjc.85.1438306598519; Thu, 30 Jul 2015 18:36:38 -0700 (PDT) Received: by 10.194.37.42 with HTTP; Thu, 30 Jul 2015 18:36:38 -0700 (PDT) In-Reply-To: References: Date: Thu, 30 Jul 2015 21:36:38 -0400 Message-ID: Subject: Re: How to control Minor Compaction by programming From: David Medinets To: accumulo-user Content-Type: multipart/alternative; boundary=089e013c6342e20a8e051c21d959 --089e013c6342e20a8e051c21d959 Content-Type: text/plain; charset=UTF-8 Just in case you didn't know, you can control the number of threads used for compacting. See https://accumulo.apache.org/1.4/user_manual/Table_Configuration.html, then search for "background threads" On Thu, Jul 30, 2015 at 6:52 PM, Hai Pham wrote: > Hi, > > > Please share with me is there any way that we can init / control the Minor > Compaction by programming (not from the shell). My situation is when I > ingest a large data using the BatchWriter, the minor compaction is > triggered uncontrollably. The flush() command in BatchWriter seems not for > this purpose. > > I also tried to play around with parameters in documentation but seems not > much helpful. > > > Also, can you please explain the number 0, 1.0, 2.0, ... in charts (web > monitoring) denoting the level of Minor Compaction and Major Compaction? > > > Thank you! > > Hai Pham > > > > > --089e013c6342e20a8e051c21d959 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Just in case you didn't know, you can control the numb= er of threads used for compacting. See https://accumulo.apache.org/1.= 4/user_manual/Table_Configuration.html, then search for "backgroun= d threads"

On Thu, Jul 30, 2015 at 6:52 PM, Hai Pham <htp0005@tigermai= l.auburn.edu> wrote:

Hi,=C2=A0


Please share with me is there any way that we can init / control the Min= or Compaction by programming (not from the shell). My situation is when I i= ngest a large data using the=C2=A0BatchWriter, the minor compaction is trig= gered uncontrollably. The flush() command in BatchWriter seems not for this purpose.=C2=A0

I also tried to play around with parameters in documentation but seems n= ot much helpful.=C2=A0


Also, can you please explain the number 0, 1.0, 2.0, ... in charts (web = monitoring)=C2=A0denoting the level of Minor Compaction and Major Compactio= n?=C2=A0


Thank you!=C2=A0

Hai Pham=C2=A0





--089e013c6342e20a8e051c21d959--