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 489161798B for ; Mon, 27 Oct 2014 17:56:34 +0000 (UTC) Received: (qmail 72110 invoked by uid 500); 27 Oct 2014 17:56:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 72072 invoked by uid 500); 27 Oct 2014 17:56:34 -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 72060 invoked by uid 99); 27 Oct 2014 17:56:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2014 17:56:34 +0000 Date: Mon, 27 Oct 2014 17:56:34 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-7982) HDP2.2. Zookeeper package creates "current/zookeeper-client" link 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-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185506#comment-14185506 ] Hudson commented on AMBARI-7982: -------------------------------- FAILURE: Integrated in Ambari-trunk-Commit #721 (See [https://builds.apache.org/job/Ambari-trunk-Commit/721/]) AMBARI-7982 HDP2.2. Zookeeper package creates "current/zookeeper-client" link (dsen) (dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e0b17bf689fff30ed5d5e9aa5975c2a8664457e8) * ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py * ambari-common/src/main/python/resource_management/core/providers/package/zypper.py * ambari-agent/src/test/python/resource_management/TestPackageResource.py * ambari-common/src/main/python/resource_management/core/providers/package/apt.py * ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py > HDP2.2. Zookeeper package creates "current/zookeeper-client" link > ----------------------------------------------------------------- > > Key: AMBARI-7982 > URL: https://issues.apache.org/jira/browse/AMBARI-7982 > Project: Ambari > Issue Type: Bug > Components: stacks > Affects Versions: 1.7.0 > Environment: HDP2.2 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Blocker > Fix For: 1.7.0 > > > Package zookeeper_2_2_0_0_1108.noarch creates a link > [root@c6406 ~]# ls -la /usr/hdp/current/ > total 8 > drwxr-xr-x 2 root root 4096 Oct 27 10:36 . > drwxr-xr-x 4 root root 4096 Oct 27 10:36 .. > lrwxrwxrwx 1 root root 31 Oct 27 10:36 zookeeper-client -> /usr/hdp/2.2.0.0-1108/zookeeper > It breaks any Ambari deployments, because Ambari checks if /usr/hdp/current/ already exists before running hdp-select > Solution: > run hdp-select after every install command, but use -r option. -r creates a symbolic link in /usr/hdp/current/ folder only if it's absent -- This message was sent by Atlassian JIRA (v6.3.4#6332)