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 B989C186B3 for ; Sat, 20 Jun 2015 20:41:01 +0000 (UTC) Received: (qmail 92710 invoked by uid 500); 20 Jun 2015 20:41:01 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 92679 invoked by uid 500); 20 Jun 2015 20:41:01 -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 92644 invoked by uid 99); 20 Jun 2015 20:41:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jun 2015 20:41:01 +0000 Date: Sat, 20 Jun 2015 20:41:01 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-12044) ambari server upgrade should backup view archives in place MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-12044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14594790#comment-14594790 ] Hudson commented on AMBARI-12044: --------------------------------- FAILURE: Integrated in Ambari-trunk-Commit #2954 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2954/]) AMBARI-12044. ambari server upgrade should backup view archives in place (dlysnichenko) (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7d5e419012245d135ecdf29a1fb58fadf65eecb8) * ambari-server/src/main/package/deb/control/preinst * ambari-server/src/main/package/rpm/preinstall.sh > ambari server upgrade should backup view archives in place > ---------------------------------------------------------- > > Key: AMBARI-12044 > URL: https://issues.apache.org/jira/browse/AMBARI-12044 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Fix For: 2.1.0 > > Attachments: AMBARI-12044.patch > > > Installed Ambari 2.0.1, then performed upgrade to Ambari 2.1.0 and the existing view archives got deleted. The view archives that were installed with ambari 2.0.1 (jobs, slider and tez) should have stayed in place. The work directories were still in place but the archives are gone. > Users might have also deployed their own views, etc. and we cannot disturb them. > PRE UPGRADE: > {code} > [root@c6402 views]# ls -l > total 42788 > -rw-r--r-- 1 ambari root 567387 May 22 05:14 ambari-admin-2.0.1.45.jar > -rw-r--r-- 1 ambari root 976434 May 22 05:14 jobs-2.0.1.45.jar > -rw-r--r-- 1 ambari root 40828522 May 22 05:14 slider-0.0.1-SNAPSHOT.jar > -rw-r--r-- 1 ambari root 1433156 May 22 05:14 tez-ambari-view-0.5.2.2.2.2.0-45.jar > drwxr-xr-x 6 ambari root 4096 Jun 11 01:43 work > [root@c6402 views]# cd work > [root@c6402 work]# ls -l > total 16 > drwxr-xr-x 7 ambari root 4096 Jun 11 01:41 ADMIN_VIEW{2.0.0} > drwxr-xr-x 9 ambari ambari 4096 Jun 11 01:43 JOBS{1.0.0} > drwxr-xr-x 10 ambari ambari 4096 Jun 11 01:43 SLIDER{1.0.0} > drwxr-xr-x 9 ambari ambari 4096 Jun 11 01:43 TEZ{0.5.2.2.2.2.0-45} > {code} > POST-UPGRADE > {code} > [root@c6402 ~]# cd /var/lib/ambari-server/resources/views/ > [root@c6402 views]# ls > ambari-admin-2.1.0.2062.jar pig-2.1.0.2062.jar > capacity-scheduler-2.1.0.2062.jar slider-2.1.0.2062.jar > files-2.1.0.2062.jar tez-view-2.1.0.2062.jar > hive-2.1.0.2062.jar work > [root@c6402 views]# cd work/ > [root@c6402 work]# ls > ADMIN_VIEW{2.1.0} JOBS{1.0.0} TEZ{0.5.2.2.2.2.0-45} > CAPACITY-SCHEDULER{1.0.0} PIG{1.0.0} TEZ{0.7.0.2.3.0.0-2062} > FILES{1.0.0} SLIDER{1.0.0} > HIVE{0.4.0} SLIDER{2.0.0} > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)