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 3609718B0B for ; Thu, 5 Nov 2015 03:28:28 +0000 (UTC) Received: (qmail 37613 invoked by uid 500); 5 Nov 2015 03:28:28 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 37510 invoked by uid 500); 5 Nov 2015 03:28:28 -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 37162 invoked by uid 99); 5 Nov 2015 03:28:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2015 03:28:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id C04952C1F6B for ; Thu, 5 Nov 2015 03:28:27 +0000 (UTC) Date: Thu, 5 Nov 2015 03:28:27 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-13723) Express Upgrade: HDP 2.1->2.3 must uninstall 2.1 bits before starting on 2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-13723?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14= 991050#comment-14991050 ]=20 Hudson commented on AMBARI-13723: --------------------------------- FAILURE: Integrated in Ambari-branch-2.1 #802 (See [https://builds.apache.o= rg/job/Ambari-branch-2.1/802/]) AMBARI-13723. Express Upgrade: HDP 2.1->2.3 must uninstall 2.1 bits (aferna= ndez: [http://git-wip-us.apache.org/repos/asf?p=3Dambari.git&a=3Dcommit&h= =3D1f5545766fd619c277fd830ec6f48e4d74035e42]) * ambari-server/src/main/resources/custom_actions/scripts/remove_bits.py * ambari-server/src/main/resources/stacks/HDP/2.1/upgrades/nonrolling-upgra= de-2.3.xml > Express Upgrade: HDP 2.1->2.3 must uninstall 2.1 bits before starting on = 2.3 > -------------------------------------------------------------------------= --- > > Key: AMBARI-13723 > URL: https://issues.apache.org/jira/browse/AMBARI-13723 > Project: Ambari > Issue Type: Story > Components: ambari-server > Affects Versions: 2.2.0, 2.1.3 > Reporter: Alejandro Fernandez > Assignee: Alejandro Fernandez > Fix For: 2.2.0, 2.1.3 > > Attachments: AMBARI-13723.trunk.patch > > > We found a major flaw in the Express Upgrade from 2.1->2.3. Basically, "h= adoop" bin still points to the old binary because we had to install HDP 2.3= while 2.1 bits still existed. > *Manual Upgrade Instructions:* > * Stop all services using 2.1 > * yum erase hadoop hdfs hive =E2=80=A6 (this will remove scripts /usr/bin= /hadoop, /usr/bin/hdfs, /usr/bin/hive, etc/) > * yum install hadoop_2_3_* hdfs_2_3_* hive_2_3_* (rpm should point /usr/b= in/hadoop -> /usr/hdp/current/hadoop-client/bin/hadoop) > * Change the version to 2.3 (hdp-select, conf-select, etc.) > * Start all services, and hence MR Service Check passes with "hadoop" com= mand > *Express Upgrade:* > * Install HDP 2.3 bits. We reused the RU framework that relies on a 2 ste= p process: install bits, perform upgrade. Hence, /usr/bin/hadoop is still u= sing 2.1 bits > * Stop all services using 2.1 > * Change the version to 2.3 (hdp-select, conf-select, etc.) > * Start all services, will fail on MR Service Check because ExecuteHadoop= () resource calls "hadoop" command, which is still pointing to 2.1 bits! > One solution is for the orchestration to remove the 2.1 bits before start= ing using 2.3. > Uninstalling the 2.1 bits will remove /usr/bin/hadoop, but when we call "= hdp-select set hadoop-client " it will create the symlink /usr= /bin/hadoop -> /usr/hdp/current/hadoop-client/bin/hadoop -- This message was sent by Atlassian JIRA (v6.3.4#6332)