ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumit Mohanty (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-12044) ambari server upgrade should copy older view archives to a backup location
Date Sat, 20 Jun 2015 15:07:00 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-12044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sumit Mohanty updated AMBARI-12044:
-----------------------------------
    Summary: ambari server upgrade should copy older view archives to a backup location  (was:
ambari server upgrade should leave view archives in place)

> ambari server upgrade should copy older view archives to a backup location
> --------------------------------------------------------------------------
>
>                 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)

Mime
View raw message