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 E98409ED2 for ; Sun, 1 Jan 2012 06:47:40 +0000 (UTC) Received: (qmail 30358 invoked by uid 500); 1 Jan 2012 06:47:39 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 29806 invoked by uid 500); 1 Jan 2012 06:47:34 -0000 Mailing-List: contact hdfs-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-user@hadoop.apache.org Delivered-To: mailing list hdfs-user@hadoop.apache.org Received: (qmail 29699 invoked by uid 99); 1 Jan 2012 06:47:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2012 06:47:32 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of techie.anirudh@gmail.com designates 209.85.216.41 as permitted sender) Received: from [209.85.216.41] (HELO mail-qw0-f41.google.com) (209.85.216.41) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jan 2012 06:47:25 +0000 Received: by qabg40 with SMTP id g40so8025222qab.14 for ; Sat, 31 Dec 2011 22:47:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4oevNzYstZaCV+/Q9/ro/O3Iu+LXOp92ZREvDBZ1G1w=; b=B4XbDcUy6dEiIH+Fo24eiLcyCu1eIa2kzGgX5/S3ztrXSMNOMpNj4B8HzJKIjEtThE To3RTAOO4W4pr0Epz35l1HL6FlKzFPQKoYYMcs1DY0nh3clc6YlBXct1X9IN9l1KgfKy adZ6/vKprV3tEXEwiv+Muw4MxLl9/7NNOq1Os= MIME-Version: 1.0 Received: by 10.224.173.146 with SMTP id p18mr53270311qaz.20.1325400425005; Sat, 31 Dec 2011 22:47:05 -0800 (PST) Received: by 10.224.116.68 with HTTP; Sat, 31 Dec 2011 22:47:04 -0800 (PST) In-Reply-To: References: Date: Sat, 31 Dec 2011 22:47:04 -0800 Message-ID: Subject: Re: HDFS Datanode Capacity From: Anirudh To: hdfs-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=20cf30363eff8481df04b571d55d --20cf30363eff8481df04b571d55d Content-Type: text/plain; charset=ISO-8859-1 You may want to look at http://hadoop.apache.org/hdfs/docs/current/hdfs_quota_admin_guide.html Thanks, Anirudh On Sat, Dec 31, 2011 at 10:03 PM, Hamed Ghavamnia wrote: > Hi, > I've been searching on how to configure the maximum capacity of a > datanode. I've added big volumes to one of my datanodes, but the configured > capacity doesn't get bigger than the default 5GB. If I want a datanode with > 100GB of capacity, I have to add 20 directories, each having 5GB so the > maximum capacity reaches 100. Is there anywhere this can be set? Can > different datanodes have different capacities? > > Also it seems like the *dfs.datanode.du.reserved *doesn't work either, > because I've set it to zero, but it still leaves 50% of the free space for > non-dfs usage. > > Thanks, > Hamed > > P.S. This is my first message in the mailing list, so if I have to follow > any rules for sending emails, I'll be thankful if you let me know. :) > --20cf30363eff8481df04b571d55d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You may want to look at
http://hadoop.apache.org/hdfs/docs/current/hdfs_quota_admin_guide.h= tml

Thanks,
Anirudh

On Sat, Dec 31, 2011 at 10:03 PM,= Hamed Ghavamnia <ghavamnia.h@gmail.com> wrote:
Hi,
I've been searching on how to configure the maximum capacity of = a datanode. I've added big volumes to one of my datanodes, but the conf= igured capacity doesn't get bigger than the default 5GB. If I want a da= tanode with 100GB of capacity, I have to add 20 directories, each having 5G= B so the maximum capacity reaches 100. Is there anywhere this can be set? C= an different datanodes have different capacities?

Also it seems like the dfs.datanode.du.reserv= ed doesn't work either, because I've set it to ze= ro, but it still leaves 50% of the free space for non-dfs usage.

Thanks,
Hamed

P.S. This is my first message in the mailing list, so if I hav= e to follow any rules for sending emails, I'll be thankful if you let m= e know. :)

--20cf30363eff8481df04b571d55d--