Return-Path: X-Original-To: apmail-ambari-commits-archive@www.apache.org Delivered-To: apmail-ambari-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 479FD18E32 for ; Fri, 18 Mar 2016 17:05:32 +0000 (UTC) Received: (qmail 53045 invoked by uid 500); 18 Mar 2016 17:05:32 -0000 Delivered-To: apmail-ambari-commits-archive@ambari.apache.org Received: (qmail 53014 invoked by uid 500); 18 Mar 2016 17:05:32 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 53005 invoked by uid 99); 18 Mar 2016 17:05:32 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2016 17:05:32 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B997FDFAFF; Fri, 18 Mar 2016 17:05:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jonathanhurley@apache.org To: commits@ambari.apache.org Date: Fri, 18 Mar 2016 17:05:31 -0000 Message-Id: <79e7e75e598d4d3eae801916ca890e05@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] ambari git commit: Revert "AMBARI-15429. Cannot specify ZooKeeper heap size via UI.(vbrodetskyi)" Repository: ambari Updated Branches: refs/heads/trunk d752f5ec8 -> 7242a4a18 Revert "AMBARI-15429. Cannot specify ZooKeeper heap size via UI.(vbrodetskyi)" This reverts commit d7596e769f7546e621981f9e5501c1094e6e4f84. Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7242a4a1 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7242a4a1 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7242a4a1 Branch: refs/heads/trunk Commit: 7242a4a1803c6d707d40063d9a708609a5fe4bcf Parents: f983862 Author: Jonathan Hurley Authored: Fri Mar 18 13:04:57 2016 -0400 Committer: Jonathan Hurley Committed: Fri Mar 18 13:05:12 2016 -0400 ---------------------------------------------------------------------- .../3.4.5.2.0/configuration/zookeeper-env.xml | 16 +--------------- .../3.4.5.2.0/package/scripts/params_linux.py | 2 +- 2 files changed, 2 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/7242a4a1/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/configuration/zookeeper-env.xml ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/configuration/zookeeper-env.xml b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/configuration/zookeeper-env.xml index e312507..7ef62bc 100644 --- a/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/configuration/zookeeper-env.xml +++ b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/configuration/zookeeper-env.xml @@ -55,20 +55,6 @@ - zk_server_heapsize - 1024 - Maximum amount of memory each Zookeeper Server can use. - Zookeeper Server Maximum Memory - - int - 256 - 32768 - MB - 256 - - - - zookeeper_principal_name ZooKeeper principal name @@ -88,7 +74,7 @@ export JAVA_HOME={{java64_home}} export ZOOKEEPER_HOME={{zk_home}} export ZOO_LOG_DIR={{zk_log_dir}} export ZOOPIDFILE={{zk_pid_file}} -export SERVER_JVMFLAGS=-Xmx{{zk_server_heapsize}} +export SERVER_JVMFLAGS={{zk_server_heapsize}} export JAVA=$JAVA_HOME/bin/java export CLASSPATH=$CLASSPATH:/usr/share/zookeeper/* http://git-wip-us.apache.org/repos/asf/ambari/blob/7242a4a1/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/params_linux.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/params_linux.py b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/params_linux.py index d64eb5c..9ff9125 100644 --- a/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/params_linux.py +++ b/ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/params_linux.py @@ -65,7 +65,7 @@ zk_log_dir = config['configurations']['zookeeper-env']['zk_log_dir'] zk_data_dir = config['configurations']['zoo.cfg']['dataDir'] zk_pid_dir = status_params.zk_pid_dir zk_pid_file = status_params.zk_pid_file -zk_server_heapsize = default('configurations/zookeeper-env/zk_server_heapsize', 1024) +zk_server_heapsize = "-Xmx1024m" client_port = default('/configurations/zoo.cfg/clientPort', None)