Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-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 A0487182BD for ; Thu, 31 Mar 2016 21:57:08 +0000 (UTC) Received: (qmail 72547 invoked by uid 500); 31 Mar 2016 21:57:07 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 72477 invoked by uid 500); 31 Mar 2016 21:57:07 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 72465 invoked by uid 99); 31 Mar 2016 21:57:06 -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; Thu, 31 Mar 2016 21:57:06 +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 45FA51A02CD for ; Thu, 31 Mar 2016 21:57:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, 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 IO1XOlvp7ZzE for ; Thu, 31 Mar 2016 21:57:04 +0000 (UTC) Received: from mail-yw0-f177.google.com (mail-yw0-f177.google.com [209.85.161.177]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C7B5A5F19D for ; Thu, 31 Mar 2016 21:57:03 +0000 (UTC) Received: by mail-yw0-f177.google.com with SMTP id h65so116155589ywe.0 for ; Thu, 31 Mar 2016 14:57:03 -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; bh=rZtKpu2PjcPk2gbFw1nN6LXhHWiJ2mqTO69GM7uKYqc=; b=IbI22fNuEfjQSW64S0lKINTvXooa2dgpLYOpS2QGFR00gHGoYka6NkqPo05umo3l8i s8z4kzlyfM0OtzLaQ94MUVTcdl6qk3Bh4h+lP3NE6RXgZFTIqbalEyVRIrIFs2qSQdp4 BGMvT679ggAI0C38b1b2XpnNtaabHJubqmsH4UR0bPx5ZYbjhi2bFvRrQ0qpbPYvgD70 3DLGKCfDWcheKRri2VlhJdbeXtBBVji/nLJMyyiodoWhbU8VHrzYPt5AiI8dd/8ORmF1 Gkz9Hm37eSYRiWw9NFLG2vqIe/sbzyMukvMuuGxwdCdJ5WkM6B9hzEMMgoxMULCEYR4b zPrw== 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:date :message-id:subject:from:to; bh=rZtKpu2PjcPk2gbFw1nN6LXhHWiJ2mqTO69GM7uKYqc=; b=ABZxV888ZHCQX2eeDZ2ERPqk/ODkCx8paWQ4casuAwES3oXehC0PD/9gKkQwtt8Qnd lV3MwS/TEbfQoDnvZbY0s+6AyMiuYVGf6uhbJ2Jry2icsu6H+RdV5/W5+meT83G8idtQ VcikFjTA7nSw63GzVoLiEv0uj+yUwApX1aADfmZ+kmV81FkLLsduF4cq/CkP9D/0ZbVG WDqQSgnlq8tfV/0hBygbG2Ke3MG4jLBgLC3gyyQhU1gI6qs2KzSaQHl+DhvkJ3GWL9vh d2K44fJYyHkZtsnRgKYx6PjOYzMIA7vydw+me0TKRVMkNhuH8B907h+3+ywpgo0RDswG /vnQ== X-Gm-Message-State: AD7BkJILlnRXe/eZprITSQz71IFyeH2Ct/nVHuLEp7ZitP4Y+HrVPEejOQopKaQ6fLEMjnN1Xm0qUlIKt66cBg== MIME-Version: 1.0 X-Received: by 10.37.231.71 with SMTP id e68mr9440980ybh.57.1459461423096; Thu, 31 Mar 2016 14:57:03 -0700 (PDT) Received: by 10.37.208.4 with HTTP; Thu, 31 Mar 2016 14:57:03 -0700 (PDT) In-Reply-To: <40597BEA6F39F74CA51ABDDA45D6E97D0B3781@S2K8MNTAEXC3.mentacapital.local> References: <40597BEA6F39F74CA51ABDDA45D6E97D0B3781@S2K8MNTAEXC3.mentacapital.local> Date: Thu, 31 Mar 2016 14:57:03 -0700 Message-ID: Subject: Re: difference between dus and df output From: Ted Yu To: "user@hbase.apache.org" Content-Type: multipart/alternative; boundary=94eb2c0a8c9ab006ae052f5f5711 --94eb2c0a8c9ab006ae052f5f5711 Content-Type: text/plain; charset=UTF-8 Have you performed major compaction lately ? Are there non-expired hbase snapshots ? Cheers On Thu, Mar 31, 2016 at 2:50 PM, Ted Tuttle wrote: > This is very interesting, Ted. Thank you. > > We are only running HBase on hdfs. > > Does this mostly empty block appending behavior make sense for HBase-only > usage? > > If this is, in fact, unused storage how do we get it back? > > Currently df shows 75% filled while du shows 25%. The former is prompting > us to consider more hardware. If in fact we are 25% we don't need to. > > -----Original Message----- > From: Ted Yu [mailto:yuzhihong@gmail.com] > Sent: Thursday, March 31, 2016 1:13 PM > To: user@hbase.apache.org > Subject: difference between dus and df output > > Have you seen this thread ? > > http://search-hadoop.com/m/uOzYtatlmAcqgzM > > On Thu, Mar 31, 2016 at 11:58 AM, Ted Tuttle wrote: > > > Hello- > > > > We are running v0.94.9 cluster. > > > > I am seeing that 'fs -dus' reports 24TB used and 'fs -df' reports > > 74.TB used. > > > > Does anyone know why these do not reconcile? Our replication factor is > > 2 so that is not a likely explanation. > > > > Shown below are results from my cluster (doctored to TB for ease of > > reading): > > > > bash-4.1$ hadoop fs -dus /hbase > > hdfs://host/hbase 24.5TB > > > > bash-4.1$ hadoop fs -df /hbase > > Filesystem Size Used Avail Use% > > /hbase 103.8TB 74.2TB 24.3TB 71% > > > --94eb2c0a8c9ab006ae052f5f5711--