Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 E22022A65 for ; Tue, 3 May 2011 03:21:32 +0000 (UTC) Received: (qmail 99970 invoked by uid 500); 3 May 2011 03:21:30 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 99587 invoked by uid 500); 3 May 2011 03:21:30 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 99568 invoked by uid 99); 3 May 2011 03:21:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 03:21:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cnweike@gmail.com designates 209.85.160.48 as permitted sender) Received: from [209.85.160.48] (HELO mail-pw0-f48.google.com) (209.85.160.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 May 2011 03:21:18 +0000 Received: by pwi16 with SMTP id 16so4074705pwi.35 for ; Mon, 02 May 2011 20:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=UcGwuERQI+ZTUtlnB9rs77hEfC5DAGWTgjYsot36KZk=; b=YefBKI4BhpiOOBX3W9rg8TtiLCVLya22S0oayA6B82n0XVbSYLmjBjMtQAv6Qesqf/ qlqunSkmRVwzfxGn1kqwUAlGkp4vKCE371oaSm8kmiDGJx7YCvm24Xyas+y9ZS1YMfGN ajUdxojgVwq+00Z8sLsKXkZaJeTkD9lk0W9dc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=XcOkllc2u3S+bXV5wEpjKjzuVt3fDFbC2Qp3UnRvWKe9crZS5bFx2aWaUq3N8ly+Cc 2B3Ng+Z9KLNfMCdYjkrbYRmCa5W3zT0tz22GstmYpq7KV/eqzD4BkhHlvkkpSsX7L0NJ KtRh+hiQ7yYSg3Ffwib0GJHQtjtNZNe7vxQEA= MIME-Version: 1.0 Received: by 10.68.9.132 with SMTP id z4mr9559271pba.282.1304392856009; Mon, 02 May 2011 20:20:56 -0700 (PDT) Received: by 10.68.62.199 with HTTP; Mon, 2 May 2011 20:20:55 -0700 (PDT) Date: Tue, 3 May 2011 11:20:55 +0800 Message-ID: Subject: how to take full advantage of large amount of memory ? From: Fei Pan To: common-user@hadoop.apache.org Content-Type: multipart/mixed; boundary=bcaec5215f27d47b8a04a256a05c X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5215f27d47b8a04a256a05c Content-Type: multipart/alternative; boundary=bcaec5215f27d47b8404a256a05a --bcaec5215f27d47b8404a256a05a Content-Type: text/plain; charset=UTF-8 I am managing a cluster composed of 1 namenode and 8 datanodes (CDH3 hadoop-0.20.2); they are all 16-core CPU and 32G-memory. for the full usage of the large memory I configured as following: *HADOOP_HEAPSIZE = 1GB (hadoop-env.sh)* * mapred.child.java.opts = -Xmx1024m (mapred-site.xml)* * io.sort.mb = 256M (mapred-site.xml) * I want to know *whether these configurations are suitable (should they be configured smaller or bigger ?) for the dataNode machines*, and *is there any other configurations which can take more advantage of the large memory* ; thank you for your reply in advance. -- Stay Hungry. Stay Foolish. --bcaec5215f27d47b8404a256a05a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am managing a cluster composed of 1 namenode and 8 datanodes (CDH3 hadoop= -0.20.2); =C2=A0they are all 16-core CPU and 32G-memory.=C2=A0

for the full usage of the large memory I configured as following:
=C2=A0
=C2=A0HADOOP_HEAPSIZE =3D 1GB (hadoop-env.sh)
=
=C2=A0mapred.child.java.opts =3D =C2=A0-Xmx1024m (mapred-site.xml)<= /b>
=C2=A0io.sort.mb =3D 256M (mapred-site.xml)
=C2=A0
I want to know whether these configurations are suitable (should they be config= ured smaller or bigger ?) for the dataNode machines, and is there any other configurations w= hich can take more advantage of the =C2=A0large memory;=C2=A0

thank you for your reply in advance.


--
Stay Hungry. Stay Foolish.

--bcaec5215f27d47b8404a256a05a-- --bcaec5215f27d47b8a04a256a05c--