Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E69D0200BCE for ; Fri, 18 Nov 2016 03:22:56 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E53CE160B0F; Fri, 18 Nov 2016 02:22:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 38CC0160B0B for ; Fri, 18 Nov 2016 03:22:56 +0100 (CET) Received: (qmail 70924 invoked by uid 500); 18 Nov 2016 02:22:50 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 70908 invoked by uid 99); 18 Nov 2016 02:22:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2016 02:22:50 +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 952F31A036A for ; Fri, 18 Nov 2016 02:22:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.13 X-Spam-Level: ** X-Spam-Status: No, score=2.13 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, KAM_LOTSOFHASH=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-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-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qwrX_bpJsiZq for ; Fri, 18 Nov 2016 02:22:48 +0000 (UTC) Received: from mail-yw0-f180.google.com (mail-yw0-f180.google.com [209.85.161.180]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 498435FC4A for ; Fri, 18 Nov 2016 02:22:48 +0000 (UTC) Received: by mail-yw0-f180.google.com with SMTP id a10so155404177ywa.3 for ; Thu, 17 Nov 2016 18:22:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=N7arfwsydvOZzRx5oX3ztUTSs7i7H63rJ1ZhFs1Dy6M=; b=1CgzluaD06Oo3cIBRS63KqvRfZqJaK/oNaPAp0yOtIzzr1te3arU5VZMPuNL+30LRb suXWT3Q1psKwbyIQjzs0a1MTAf37bNercdXwKKLchPqOeqyBo81U4/F2rKIMFvPwrfUa 3WbiSGFw7H0FFHA2ODJlkb+u3F5fvn6mKFZZWltWxDDAJitgKV65AJ7teebFrSVxYyFo gjE15VneV0iX6r0aLmjYFZRsW6gY+cM47+sp4TWPCN+NMclXeFpInt8gym83y32fq+1v RhGqNRAgJp6ATgdFbGH2L1cEXkEGxvaGm9qtpCOtrqUADnWJgKE9myHC9LmzW53LEH6s Rkvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=N7arfwsydvOZzRx5oX3ztUTSs7i7H63rJ1ZhFs1Dy6M=; b=hgYBb8LetA3pbskz+C+k9VYhMP5S7fG5I8IdxdXu+u69XjMBqkdUuTNbSYSgwZ5XAt MkcaVGpPTveVF1XZRykOdOHv82z3XiF3zV6Akd4fEbUBzQyztiaZNsver399iNB+ofaF 4KmIl1Ck0zP2xEMQH+GSCjdPiH0iKKfvDt/cM+xUjYdotUVRW6SAJWmqQrmBlnmckBkS 55Z6zqMLqrdgUIuQna5R7Gtebosdwdl228wbSUAjFs3+J2VvhK0XZCI/TmPaD6pf4h0w Gg9dBMA91pk2qizdwa882n0/K7Hyj8aPygX8kUuthNplYHGwirFxaFY52c32LlFd5pZu O4jA== X-Gm-Message-State: ABUngvdFhDJ1yI2kGs1yk1l1CspQL7CBlLElVJrjLReOTKgV66q/VsKR/mv3pomQgZyT55wq8nZc6PhZI6NPBQ== X-Received: by 10.129.125.215 with SMTP id y206mr5324712ywc.234.1479435767878; Thu, 17 Nov 2016 18:22:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.15.7 with HTTP; Thu, 17 Nov 2016 18:22:47 -0800 (PST) In-Reply-To: References: From: Ted Yu Date: Thu, 17 Nov 2016 18:22:47 -0800 Message-ID: Subject: Re: Why hbase doesn't remove the empty region To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=001a11492dfa699efb054189fbf0 archived-at: Fri, 18 Nov 2016 02:22:57 -0000 --001a11492dfa699efb054189fbf0 Content-Type: text/plain; charset=UTF-8 When was the last time major compaction was performed on this region ? Were you referring to the store files by 'them' in your question ? Cheers On Thu, Nov 17, 2016 at 6:18 PM, Xi Yang wrote: > I have some regions are empty. But HBase doesn't remove them, why? > > You can see the storeFileSize is only 549. But I use hbase shell to scan > this region, the result is empty > > "Namespace_default_table_java_app_logs_region_ > 3854912733f1acaaa8a255abd6b7b1ec_metric_storeFileCount" > : 1, > "Namespace_default_table_java_app_logs_region_ > 3854912733f1acaaa8a255abd6b7b1ec_metric_memStoreSize" > : 424, > "Namespace_default_table_java_app_logs_region_ > 3854912733f1acaaa8a255abd6b7b1ec_metric_storeFileSize" > : 549, > "Namespace_default_table_java_app_logs_region_ > 3854912733f1acaaa8a255abd6b7b1ec_metric_compactionsCompletedCount" > : 4, > "Namespace_default_table_java_app_logs_region_ > 3854912733f1acaaa8a255abd6b7b1ec_metric_numBytesCompactedCount" > : 8503271111, > "Namespace_default_table_java_app_logs_region_ > 3854912733f1acaaa8a255abd6b7b1ec_metric_numFilesCompactedCount" > : 4, > --001a11492dfa699efb054189fbf0--