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 0A27F18B72 for ; Wed, 6 Jan 2016 17:54:44 +0000 (UTC) Received: (qmail 52171 invoked by uid 500); 6 Jan 2016 17:54:43 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 52138 invoked by uid 500); 6 Jan 2016 17:54:43 -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 52122 invoked by uid 99); 6 Jan 2016 17:54:43 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jan 2016 17:54:43 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 4CA8D2984F3; Wed, 6 Jan 2016 17:54:42 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6029302939967641317==" MIME-Version: 1.0 Subject: Re: Review Request 41987: [preview] Express Upgrade failed at Finalize Upgrade pre-check due to STS and Mahout version mismatch From: "Dmitro Lisnichenko" To: "Alejandro Fernandez" , "Jayush Luniya" , "Dmytro Grinenko" , "Nate Cole" , "Jonathan Hurley" Cc: "Ambari" Date: Wed, 06 Jan 2016 17:54:42 -0000 Message-ID: <20160106175442.26044.72509@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Dmitro Lisnichenko" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/41987/ X-Sender: "Dmitro Lisnichenko" References: <20160106175338.26044.64617@reviews.apache.org> In-Reply-To: <20160106175338.26044.64617@reviews.apache.org> Reply-To: "Dmitro Lisnichenko" X-ReviewRequest-Repository: ambari --===============6029302939967641317== 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/41987/ ----------------------------------------------------------- (Updated Jan. 6, 2016, 7:54 p.m.) Review request for Ambari, Alejandro Fernandez, Dmytro Grinenko, Jonathan Hurley, Jayush Luniya, and Nate Cole. Changes ------- Uploaded correct patch Bugs: AMBARI-14570 https://issues.apache.org/jira/browse/AMBARI-14570 Repository: ambari Description ------- *Steps* # Setup HDP 2.3.4.0 (Dal M20) cluster with Ambari 2.2.1.0 (including spark service) # Perform EU to Dal M21 (HDP-2.4.0.0-42) EU reports failure at Finalize Upgrade pre-check with below error for SPARK_THRIFTSERVER : {code} The following components were found to have version mismatches. Finalize will not complete successfully: host-ora12-6.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485 host-ora12-4.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485 host-ora12-1.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485 host-ora12-2.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485 host-ora12-5.novalocal: SPARK/SPARK_THRIFTSERVER reports 2.3.4.0-3485 {code} >From DB found below: {code} select * from hostcomponentstate where component_name = 'SPARK_THRIFTSERVER' 53.00 1.00 SPARK_THRIFTSERVER 2.3.4.0-3485 5.00 STARTED 3.00 SPARK NONE UNKNOWN 54.00 1.00 SPARK_THRIFTSERVER 2.3.4.0-3485 5.00 STARTED 5.00 SPARK NONE UNKNOWN 55.00 1.00 SPARK_THRIFTSERVER 2.3.4.0-3485 5.00 STARTED 4.00 SPARK NONE UNKNOWN 56.00 1.00 SPARK_THRIFTSERVER 2.3.4.0-3485 5.00 STARTED 1.00 SPARK NONE UNKNOWN 57.00 1.00 SPARK_THRIFTSERVER 2.3.4.0-3485 5.00 STARTED 2.00 SPARK NONE UNKNOWN select * from hostcomponentdesiredstate where component_name = 'SPARK_THRIFTSERVER' 1.00 SPARK_THRIFTSERVER 3.00 STARTED 1.00 SPARK INSERVICE OFF UNSECURED 0.00 1.00 SPARK_THRIFTSERVER 3.00 STARTED 2.00 SPARK INSERVICE OFF UNSECURED 0.00 1.00 SPARK_THRIFTSERVER 3.00 STARTED 3.00 SPARK INSERVICE OFF UNSECURED 0.00 1.00 SPARK_THRIFTSERVER 3.00 STARTED 4.00 SPARK INSERVICE OFF UNSECURED 0.00 1.00 SPARK_THRIFTSERVER 3.00 STARTED 5.00 SPARK INSERVICE OFF UNSECURED 0.00 select * from stack where stack_id in (3,5) 3.00 HDP 2.4 5.00 HDP 2.3 {code} EU reports failure at Finalize Upgrade pre-check with below error: {code} The following components were found to have version mismatches. Finalize will not complete successfully: host21unsecnr-6.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950 host21unsecnr-3.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950 host21unsecnr-1.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950 host21unsecnr-5.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950 host21unsecnr-2.novalocal: MAHOUT/MAHOUT reports 2.3.2.0-2950 {code} >From DB found below: {code} select * from hostcomponentstate where component_name = 'MAHOUT' id cluster_id component_name version current_stack_id current_state host_id service_name upgrade_state security_state 116 2 MAHOUT 2.3.2.0-2950 2 INSTALLED 5 MAHOUT NONE UNKNOWN 117 2 MAHOUT 2.3.2.0-2950 2 INSTALLED 3 MAHOUT NONE UNKNOWN 118 2 MAHOUT 2.3.2.0-2950 2 INSTALLED 4 MAHOUT NONE UNKNOWN 119 2 MAHOUT 2.3.2.0-2950 2 INSTALLED 1 MAHOUT NONE UNKNOWN 120 2 MAHOUT 2.3.2.0-2950 2 INSTALLED 2 MAHOUT NONE UNKNOWN select * from hostcomponentdesiredstate where component_name = 'MAHOUT' cluster_id component_name desired_stack_id desired_state host_id service_name admin_state maintenance_state security_state restart_required 2 MAHOUT 1 INSTALLED 1 MAHOUT NULL OFF UNSECURED 0 2 MAHOUT 1 INSTALLED 2 MAHOUT NULL OFF UNSECURED 0 2 MAHOUT 1 INSTALLED 3 MAHOUT NULL OFF UNSECURED 0 2 MAHOUT 1 INSTALLED 4 MAHOUT NULL OFF UNSECURED 0 2 MAHOUT 1 INSTALLED 5 MAHOUT NULL OFF UNSECURED 0 select * from stack where stack_id in (1,2) stack_id stack_name stack_version 1 HDP 2.4 2 HDP 2.3 {code} Diffs (updated) ----- ambari-server/src/main/resources/stacks/HDP/2.3/upgrades/nonrolling-upgrade-2.4.xml ab91379 ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/nonrolling-upgrade-2.4.xml 57be7b2 ambari-server/src/main/resources/stacks/HDP/2.4/upgrades/upgrade-2.4.xml c534257 Diff: https://reviews.apache.org/r/41987/diff/ Testing ------- For now, patch verification is blocked by rel eng issue (hdp-select-2.4.0.0-6 has no support for spark-thriftserver) Thanks, Dmitro Lisnichenko --===============6029302939967641317==--