Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8A4510C46 for ; Sat, 7 Mar 2015 19:44:43 +0000 (UTC) Received: (qmail 84355 invoked by uid 500); 7 Mar 2015 19:44:38 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 84302 invoked by uid 500); 7 Mar 2015 19:44:38 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 84290 invoked by uid 99); 7 Mar 2015 19:44:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Mar 2015 19:44:38 +0000 Date: Sat, 7 Mar 2015 19:44:38 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-10950) rework heap management vars MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-10950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Allen Wittenauer updated HADOOP-10950: -------------------------------------- Release Note: * HADOOP_HEAPSIZE variable has been deprecated (It will still be honored if set, but expect it to go away in the future). In its place, HADOOP_HEAPSIZE_MAX and HADOOP_HEAPSIZE_MIN have been introduced to set Xmx and Xms, respectively. * The internal variable JAVA_HEAP_MAX has been removed. * Default heap sizes have been removed. This will allow for the JVM to use auto-tuning based upon the memory size of the host. To re-enable the old default, configure HADOOP_HEAPSIZE_MAX="1g" in hadoop-env.sh. * All global and daemon-specific heap size variables now support units. If the variable is only a number, the size is assumed to be in megabytes. was: * HADOOP_HEAPSIZE variable has been deprecated (It will still be honored if set, but expect it to go away in the future). In its place, HADOOP_HEAPSIZE_MAX and HADOOP_HEAPSIZE_MIN have been introduced to set Xmx and Xms, respectively. * The internal variable JAVA_HEAP_MAX has been removed. * Default heap sizes have been removed. To re-enable the old default, configure HADOOP_HEAPSIZE_MAX="1g" in hadoop-env.sh. This will allow for the JVM to use auto-tuning based upon the memory size of the host. * All global and daemon-specific heap size variables now support units. If the variable is only a number, the size is assumed to be in megabytes. > rework heap management vars > ----------------------------- > > Key: HADOOP-10950 > URL: https://issues.apache.org/jira/browse/HADOOP-10950 > Project: Hadoop Common > Issue Type: New Feature > Components: scripts > Reporter: Allen Wittenauer > Assignee: John Smith > Labels: scripts > Fix For: 3.0.0 > > Attachments: HADOOP-10950-01.patch, HADOOP-10950-02.patch, HADOOP-10950-03.patch, HADOOP-10950-04.patch, HADOOP-10950.patch > > > Post-HADOOP-9902, we need to rework how heap is configured for small footprint machines, deprecate some options, introduce new ones for greater flexibility. -- This message was sent by Atlassian JIRA (v6.3.4#6332)