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 9CB4918ADF for ; Tue, 12 Jan 2016 22:33:13 +0000 (UTC) Received: (qmail 23662 invoked by uid 500); 12 Jan 2016 22:33:13 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 23624 invoked by uid 500); 12 Jan 2016 22:33:13 -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 23610 invoked by uid 99); 12 Jan 2016 22:33:13 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jan 2016 22:33:13 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id B596E280AFE; Tue, 12 Jan 2016 22:33:12 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0000706817642525326==" MIME-Version: 1.0 Subject: Re: Review Request 41997: Upgrading Ambari Jetty Server from Jetty 8 to Jetty 9 From: "Jaimin Jetly" To: "Yusaku Sako" , "Jonathan Hurley" Cc: "Ambari" , "Jaimin Jetly" Date: Tue, 12 Jan 2016 22:33:12 -0000 Message-ID: <20160112223312.26792.4168@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Jaimin Jetly" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/41997/ X-Sender: "Jaimin Jetly" References: <20160107133548.1209.96253@reviews.apache.org> In-Reply-To: <20160107133548.1209.96253@reviews.apache.org> Reply-To: "Jaimin Jetly" X-ReviewRequest-Repository: ambari --===============0000706817642525326== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Jan. 7, 2016, 1:35 p.m., Jonathan Hurley wrote: > > ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java, lines 413-417 > > > > > > The acceptor and selector counts here are fixed and have caused problems in the past based on how they were calculated. We should retain the calculation logic which was already in place. Selector counts were not being calculated and reset even previously. So I have not deviated from previous behavior. I have retained the calculation logic for the acceptor count as it was before in the new uploaded patch. - Jaimin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/41997/#review113251 ----------------------------------------------------------- On Jan. 12, 2016, 9:44 p.m., Jaimin Jetly wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/41997/ > ----------------------------------------------------------- > > (Updated Jan. 12, 2016, 9:44 p.m.) > > > Review request for Ambari, Jonathan Hurley and Yusaku Sako. > > > Bugs: AMBARI-14231 > https://issues.apache.org/jira/browse/AMBARI-14231 > > > Repository: ambari > > > Description > ------- > > The reviewboard addresses the concerns raised at https://reviews.apache.org/r/41018/ and fixes the unit test failures that happened due to the original patch uploaded at https://reviews.apache.org/r/41018/ > > > Diffs > ----- > > ambari-funtest/pom.xml d84b1c8 > ambari-project/pom.xml 68bdb94 > ambari-server/pom.xml 9c0ba26 > ambari-server/src/main/java/org/apache/ambari/server/api/AmbariErrorHandler.java c4a80f2 > ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariServer.java 353a972 > ambari-server/src/test/java/org/apache/ambari/server/api/AmbariErrorHandlerTest.java 8b4f99c > ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariHandlerListTest.java 2e2cc45 > ambari-web/pom.xml d160e37 > > Diff: https://reviews.apache.org/r/41997/diff/ > > > Testing > ------- > > 1. Ambari Jetty server is being upgraded to 9.2.11 version. Verifed that there is no known critcial vulnerability with this version of Jetty (http://www.eclipse.org/jetty/documentation/current/security-reports.html) > 2. ambari-web resources files are no longer explicitly compressed in the maven build process with the changes in the patch. Verified manually by using browser developer tools that ambari-server does this dynamically for any *.js and *.css files. > 3. Verified manually that HDP cluster and views can be created with the changes made in the patch. > 4. Verified that all functional tests written in ambari-funtest project passes with the changes done in the patch. > 5. Verified that all unit tests passes with the changes done in the patch. > > #mvn clean test:# > [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 approved: 41 licence. > [INFO] ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Ambari Main ........................................ SUCCESS [ 6.024 s] > [INFO] Apache Ambari Project POM .......................... SUCCESS [ 0.053 s] > [INFO] Ambari Web ......................................... SUCCESS [01:01 min] > [INFO] Ambari Views ....................................... SUCCESS [ 4.496 s] > [INFO] Ambari Admin View .................................. SUCCESS [ 13.839 s] > [INFO] ambari-metrics ..................................... SUCCESS [ 0.439 s] > [INFO] Ambari Metrics Common .............................. SUCCESS [ 3.800 s] > [INFO] Ambari Metrics Hadoop Sink ......................... SUCCESS [ 6.071 s] > [INFO] Ambari Metrics Flume Sink .......................... SUCCESS [ 4.089 s] > [INFO] Ambari Metrics Kafka Sink .......................... SUCCESS [ 5.205 s] > [INFO] Ambari Metrics Storm Sink .......................... SUCCESS [ 1.802 s] > [INFO] Ambari Metrics Collector ........................... SUCCESS [01:31 min] > [INFO] Ambari Metrics Monitor ............................. SUCCESS [ 4.857 s] > [INFO] Ambari Metrics Assembly ............................ SUCCESS [ 6.001 s] > [INFO] Ambari Server ...................................... SUCCESS [ 01:19 h] > [INFO] Ambari Functional Tests ............................ SUCCESS [01:17 min] > [INFO] Ambari Agent ....................................... SUCCESS [ 16.568 s] > [INFO] Ambari Client ...................................... SUCCESS [ 0.041 s] > [INFO] Ambari Python Client ............................... SUCCESS [ 1.307 s] > [INFO] Ambari Groovy Client ............................... SUCCESS [ 13.300 s] > [INFO] Ambari Shell ....................................... SUCCESS [ 0.046 s] > [INFO] Ambari Python Shell ................................ SUCCESS [ 0.086 s] > [INFO] Ambari Groovy Shell ................................ SUCCESS [ 10.767 s] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 01:25 h > [INFO] Finished at: 2016-01-06T14:49:30-08:00 > [INFO] Final Memory: 90M/606M > > > Thanks, > > Jaimin Jetly > > --===============0000706817642525326==--