Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A383B200D0C for ; Wed, 20 Sep 2017 11:00:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A1E7F1609E2; Wed, 20 Sep 2017 09:00:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E0F9A1609E1 for ; Wed, 20 Sep 2017 11:00:05 +0200 (CEST) Received: (qmail 77951 invoked by uid 500); 20 Sep 2017 09:00:05 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 77942 invoked by uid 99); 20 Sep 2017 09:00:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Sep 2017 09:00:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 83A24CC070 for ; Wed, 20 Sep 2017 09:00:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id NFdkWuVRo53j for ; Wed, 20 Sep 2017 09:00:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E470F5F5B6 for ; Wed, 20 Sep 2017 09:00:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 350F0E0EC4 for ; Wed, 20 Sep 2017 09:00:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id D4988218F2 for ; Wed, 20 Sep 2017 09:00:00 +0000 (UTC) Date: Wed, 20 Sep 2017 09:00:00 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-22003) Ambari schema upgrade failure as views destination path dir already exists MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 20 Sep 2017 09:00:06 -0000 [ https://issues.apache.org/jira/browse/AMBARI-22003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16172923#comment-16172923 ] Hudson commented on AMBARI-22003: --------------------------------- SUCCESS: Integrated in Jenkins build Ambari-branch-2.6 #252 (See [https://builds.apache.org/job/Ambari-branch-2.6/252/]) AMBARI-22003. Ambari schema upgrade failure as views destination path (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f64d027dbab94a93dc434b5698afef9b83c71e30]) * (edit) ambari-server/src/main/python/ambari_server/serverUpgrade.py > Ambari schema upgrade failure as views destination path dir already exists > -------------------------------------------------------------------------- > > Key: AMBARI-22003 > URL: https://issues.apache.org/jira/browse/AMBARI-22003 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.6.0 > > Attachments: AMBARI-22003.patch > > > Upgrade path from 2.5.10 to 2.6.0.0-107 > Error seen from the output of "ambari-server upgrade --verbose" > > > > [ERROR STREAM] > > Traceback (most recent call last): > File "/usr/sbin/ambari-server.py", line 950, in > mainBody() > File "/usr/sbin/ambari-server.py", line 920, in mainBody > main(options, args, parser) > File "/usr/sbin/ambari-server.py", line 872, in main > action_obj.execute() > File "/usr/sbin/ambari-server.py", line 78, in execute > self.fn(*self.args, **self.kwargs) > File "/usr/lib/python2.6/site-packages/ambari_server/serverUpgrade.py", line 271, in upgrade > shutil.move(file, root_views_dir) > File "/usr/lib64/python2.6/shutil.py", line 250, in move > raise Error, "Destination path '%s' already exists" % real_dst > shutil.Error: Destination path '/var/lib/ambari-server/resources/views/work/../work' already exists > > [EXIT CODE] > -- This message was sent by Atlassian JIRA (v6.4.14#64029)