Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0965D186FB for ; Fri, 4 Mar 2016 15:53:35 +0000 (UTC) Received: (qmail 32968 invoked by uid 500); 4 Mar 2016 15:53:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 32934 invoked by uid 500); 4 Mar 2016 15:53:34 -0000 Mailing-List: contact dev-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 dev@ambari.apache.org Received: (qmail 32915 invoked by uid 99); 4 Mar 2016 15:53:34 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2016 15:53:34 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 3E0FA2E80FD; Fri, 4 Mar 2016 15:53:34 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============1274765102797279159==" MIME-Version: 1.0 Subject: Review Request 44394: Ambari Server upgrade makes unwanted changes to capacity-scheduler.xml From: Vitalyi Brodetskyi To: Dmitro Lisnichenko Cc: Vitalyi Brodetskyi , Ambari Date: Fri, 04 Mar 2016 15:53:34 -0000 Message-ID: <20160304155334.1649.68255@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Vitalyi Brodetskyi X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/44394/ X-Sender: Vitalyi Brodetskyi Reply-To: Vitalyi Brodetskyi X-ReviewRequest-Repository: ambari --===============1274765102797279159== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/44394/ ----------------------------------------------------------- Review request for Ambari and Dmitro Lisnichenko. Bugs: AMBARI-15005 https://issues.apache.org/jira/browse/AMBARI-15005 Repository: ambari Description ------- Upgraded Ambari Server from 2.1.2.1 to 2.2.1. capacity-scheduler.xml prior to upgrade intentionally did not have the default queue (per the customer's requirement). Ambari automatically added the following, which is unwanted: yarn.scheduler.capacity.default.minimum-user-limit-percent=100 yarn.scheduler.capacity.root.default.acl_administer_jobs=* yarn.scheduler.capacity.root.default.acl_submit_applications=* yarn.scheduler.capacity.root.default.capacity=100 yarn.scheduler.capacity.root.default.maximum-capacity=100 yarn.scheduler.capacity.root.default.state=RUNNING yarn.scheduler.capacity.root.default.user-limit-factor=1 This is probably because Ambari Server on upgrade adds default properties that are missing from the existing configs. Diffs ----- ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/configuration/capacity-scheduler.xml 6c21848 ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/configuration/capacity-scheduler.xml bac8c52 Diff: https://reviews.apache.org/r/44394/diff/ Testing ------- mvn clean test Thanks, Vitalyi Brodetskyi --===============1274765102797279159==--