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 CB4E617D11 for ; Fri, 24 Apr 2015 15:41:05 +0000 (UTC) Received: (qmail 27711 invoked by uid 500); 24 Apr 2015 15:41:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 27678 invoked by uid 500); 24 Apr 2015 15:41:05 -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 27663 invoked by uid 99); 24 Apr 2015 15:41:05 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 15:41:05 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 9109A1C0255; Fri, 24 Apr 2015 15:41:06 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3009351243800061642==" MIME-Version: 1.0 Subject: Review Request 33522: RU - Install repo should batch the distribution of bits to prevent a Denial-of-Service attack From: "Dmitro Lisnichenko" To: "Alejandro Fernandez" , "Nate Cole" , "Sumit Mohanty" Cc: "Dmitro Lisnichenko" , "Ambari" Date: Fri, 24 Apr 2015 15:41:06 -0000 Message-ID: <20150424154106.2948.27310@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Dmitro Lisnichenko" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/33522/ X-Sender: "Dmitro Lisnichenko" Reply-To: "Dmitro Lisnichenko" X-ReviewRequest-Repository: ambari --===============3009351243800061642== 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/33522/ ----------------------------------------------------------- Review request for Ambari, Alejandro Fernandez, Nate Cole, and Sumit Mohanty. Bugs: AMBARI-10731 https://issues.apache.org/jira/browse/AMBARI-10731 Repository: ambari Description ------- Distribution of bits will call yum commands simultaneously (in this case, on 1300 hosts) and is bound to fail for large clusters. Batch the distribution of bits to prevent a Denial-of-Service attack. Diffs ----- ambari-server/conf/unix/ambari.properties eade91b ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java bbeca38 ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java 4e6877e ambari-server/src/test/java/org/apache/ambari/server/configuration/ConfigurationTest.java 63447ca Diff: https://reviews.apache.org/r/33522/diff/ Testing ------- Tests in error: test220Cardinality(org.apache.ambari.server.api.services.KerberosServiceMetaInfoTest): Guice provision errors:(..) test220AutoDeploy(org.apache.ambari.server.api.services.KerberosServiceMetaInfoTest): Guice provision errors:(..) test220Dependencies(org.apache.ambari.server.api.services.KerberosServiceMetaInfoTest): Guice provision errors:(..) Tests run: 2883, Failures: 0, Errors: 3, Skipped: 17 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Ambari Views ...................................... SUCCESS [2.841s] [INFO] Ambari Metrics Common ............................. SUCCESS [1.521s] [INFO] Ambari Server ..................................... FAILURE [40:04.954s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE The same tests are also failing on trunk Thanks, Dmitro Lisnichenko --===============3009351243800061642==--