Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 92FEC200AF5 for ; Thu, 19 May 2016 07:31:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 91849160A15; Thu, 19 May 2016 05:31:14 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D1D2D160A00 for ; Thu, 19 May 2016 07:31:13 +0200 (CEST) Received: (qmail 48151 invoked by uid 500); 19 May 2016 05:31:13 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 48138 invoked by uid 99); 19 May 2016 05:31:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2016 05:31:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D806E2C1F60 for ; Thu, 19 May 2016 05:31:12 +0000 (UTC) Date: Thu, 19 May 2016 05:31:12 +0000 (UTC) From: "Weiqing Yang (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-16757) Spark History Server heap size is not exposed (History Server crashed with OOM) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 19 May 2016 05:31:14 -0000 Weiqing Yang created AMBARI-16757: ------------------------------------- Summary: Spark History Server heap size is not exposed (History Server crashed with OOM) Key: AMBARI-16757 URL: https://issues.apache.org/jira/browse/AMBARI-16757 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.0.0 Reporter: Weiqing Yang Priority: Critical Fix For: 2.4.0 Ambari is not exposing the heap size parameter for Spark History Server. The workaround is to modify spark-env and add "SPARK_DAEMON_MEMORY=2g" for example. The newer versions of Spark defaults this to 1g, but on the older versions, it was defaulting to 512m it seems, and it was causing OOM. So in the patch, "SPARK_DAEMON_MEMORY=1G" is added in the spark-env template (default: 1G). -- This message was sent by Atlassian JIRA (v6.3.4#6332)