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 BEBDC109F9 for ; Wed, 21 Jan 2015 21:35:10 +0000 (UTC) Received: (qmail 87938 invoked by uid 500); 21 Jan 2015 21:35:10 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 87907 invoked by uid 500); 21 Jan 2015 21:35:10 -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 87891 invoked by uid 99); 21 Jan 2015 21:35:10 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 21:35:10 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 2AD621D4865; Wed, 21 Jan 2015 21:35:06 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3403988415574244674==" MIME-Version: 1.0 Subject: Re: Review Request 30136: Fix post-install hook for hdp-select From: "Dmitro Lisnichenko" To: "Alejandro Fernandez" , "Nate Cole" , "Yurii Shylov" , "Tom Beerbower" Cc: "Dmitro Lisnichenko" , "Ambari" Date: Wed, 21 Jan 2015 21:35:06 -0000 Message-ID: <20150121213506.9401.76841@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/30136/ X-Sender: "Dmitro Lisnichenko" References: <20150121213051.9402.27634@reviews.apache.org> In-Reply-To: <20150121213051.9402.27634@reviews.apache.org> Reply-To: "Dmitro Lisnichenko" X-ReviewRequest-Repository: ambari --===============3403988415574244674== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Jan. 21, 2015, 9:30 p.m., Nate Cole wrote: > > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py, lines 27-30 > > > > > > Any tests that exercise this code that need to be taken care of? patch does not break existing tests - Dmitro ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30136/#review69016 ----------------------------------------------------------- On Jan. 21, 2015, 9:18 p.m., Dmitro Lisnichenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30136/ > ----------------------------------------------------------- > > (Updated Jan. 21, 2015, 9:18 p.m.) > > > Review request for Ambari, Alejandro Fernandez, Nate Cole, Tom Beerbower, and Yurii Shylov. > > > Bugs: AMBARI-9248 > https://issues.apache.org/jira/browse/AMBARI-9248 > > > Repository: ambari > > > Description > ------- > > There's a post-install hook to perform hdp-select. This has erroneous logic and sets the /usr/hdp/current version to the latest installed > > > Diffs > ----- > > ambari-agent/src/main/python/ambari_agent/HostCleanup.py 7aeb70a > ambari-agent/src/test/python/ambari_agent/TestHostCleanup.py 84b96cc > ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py f256688 > > Diff: https://reviews.apache.org/r/30136/diff/ > > > Testing > ------- > > Short manual check to ensure that fix behaves as intended. Now conducting a full-pledged deployment to see all effects > > [INFO] ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Ambari Views ...................................... SUCCESS [2.865s] > [INFO] Ambari Server ..................................... SUCCESS [35.053s] > [INFO] Ambari Agent ...................................... SUCCESS [6.128s] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 44.924s > [INFO] Finished at: Wed Jan 21 23:27:12 FET 2015 > [INFO] Final Memory: 41M/353M > > > Thanks, > > Dmitro Lisnichenko > > --===============3403988415574244674==--