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 DEFB6185EA for ; Wed, 4 Nov 2015 21:37:40 +0000 (UTC) Received: (qmail 17357 invoked by uid 500); 4 Nov 2015 21:37:28 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 17320 invoked by uid 500); 4 Nov 2015 21:37: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 17292 invoked by uid 99); 4 Nov 2015 21:37:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2015 21:37:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 05CF42C1F63 for ; Wed, 4 Nov 2015 21:37:28 +0000 (UTC) Date: Wed, 4 Nov 2015 21:37:28 +0000 (UTC) From: "Alejandro Fernandez (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Alejandro Fernandez created AMBARI-13723: -------------------------------------------- Summary: 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 We found a major flaw in the Express Upgrade from 2.1->2.3. Basically, "had= oop" bin still points to the old binary because we had to install HDP 2.3 w= hile 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/h= adoop, /usr/bin/hdfs, /usr/bin/hive, etc/) * yum install hadoop_2_3_* hdfs_2_3_* hive_2_3_* (rpm should point /usr/bin= /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" comma= nd *Express Upgrade:* * Install HDP 2.3 bits. We reused the RU framework that relies on a 2 step = process: install bits, perform upgrade. Hence, /usr/bin/hadoop is still usi= ng 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 startin= g using 2.3. Uninstalling the 2.1 bits will remove /usr/bin/hadoop, but when we call "hd= p-select set hadoop-client " it will create the symlink /usr/b= in/hadoop -> /usr/hdp/current/hadoop-client/bin/hadoop -- This message was sent by Atlassian JIRA (v6.3.4#6332)