Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E8D3210270 for ; Wed, 24 Apr 2013 07:00:54 +0000 (UTC) Received: (qmail 95853 invoked by uid 500); 24 Apr 2013 07:00:50 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 95307 invoked by uid 500); 24 Apr 2013 07:00:46 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 95280 invoked by uid 99); 24 Apr 2013 07:00:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 07:00:46 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of balijamahesh.mca@gmail.com designates 209.85.217.182 as permitted sender) Received: from [209.85.217.182] (HELO mail-lb0-f182.google.com) (209.85.217.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 07:00:40 +0000 Received: by mail-lb0-f182.google.com with SMTP id v20so1367002lbc.41 for ; Wed, 24 Apr 2013 00:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=yzTIhL2pvtbHkUQHDEFouUfHOCBPJWZvInt2f48VNgQ=; b=x7DeV8FUkcZ5K6QlZEnske54FgGLor/+/k7KBxuIYipYnEVW/xpEKtV+I3qhqtoR/4 eoyYePCv4pMf+SvYfd8GJVPfhR2/unfl+AhcygBoATaqtlAjyriwGsXkgQZF/dQxXQAl w3SBgorl6/2lr/sVVM7gLWXZyJRiMkVkjL5Pg9hpN/jgHGpu39FZQLl6PgicSHJk8UZc sR2PzzfRnVtuHfyl2CFkNpSWOcbyNn5OpF6t2SLDySSeM2UEAUbwaDdzfCC5/ccKhsRt lOzKn3SKyJkvoXyXpnFW/p2ozJuhFe0nCphae5XYmIUQLpWO26WVI4tqdM8IHLOQhIgO uKTw== MIME-Version: 1.0 X-Received: by 10.112.162.130 with SMTP id ya2mr2146111lbb.122.1366786819397; Wed, 24 Apr 2013 00:00:19 -0700 (PDT) Received: by 10.112.201.230 with HTTP; Wed, 24 Apr 2013 00:00:19 -0700 (PDT) In-Reply-To: <58befa57.19e99.13e39dd0a26.Coremail.zx4866123@163.com> References: <58befa57.19e99.13e39dd0a26.Coremail.zx4866123@163.com> Date: Wed, 24 Apr 2013 12:30:19 +0530 Message-ID: Subject: Re: namenode memory test From: Mahesh Balija To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e01182dd4da9cbe04db15da3b X-Virus-Checked: Checked by ClamAV on apache.org --089e01182dd4da9cbe04db15da3b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Can you manually go into the directory configured for hadoop.tmp.dir under core-site.xml and do an ls -l to find the disk usage details, it will have fsimage, edits, fstime, VERSION. or the basic commands like, hadoop fs -du hadoop fsck On Wed, Apr 24, 2013 at 7:56 AM, =E8=87=AA=E5=B7=B1 wro= te: > Hi, I would like to know how much memory our data take on the name-node > per block, file and directory. > For example, the metadata size of a file. > When I store some files in HDFS=EF=BC=8Chow can I get the memory size tak= e on the > name-node? > Is there some tools or commands to test the memory size take on the > name-node? > > I'm looking forward to your reply! Thanks! > > > --089e01182dd4da9cbe04db15da3b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Can you manually go into the directory conf= igured for hadoop.tmp.dir under core-site.xml and do an ls -l to find the d= isk usage details, it will have fsimage, edits, fstime, VERSION.
or the basic commands like,
hadoop fs -du
hadoop fsck
=


On = Wed, Apr 24, 2013 at 7:56 AM, =E8=87=AA=E5=B7=B1 <zx4866123@163.com>= ; wrote:
Hi, I would like to know =C2=A0how = much memory our data take on the name-node per block, file and directory.= =C2=A0
For example, the metadata size of a file.<= /div>
When I store some files in HDFS=EF=BC=8Chow can I = get the memory size take on the name-node?
Is there some tools or commands to test the=C2=A0memory size take on the name-node?

I'm looking forward to= your reply! Thanks!



--089e01182dd4da9cbe04db15da3b--