You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/10/27 18:22:34 UTC

[jira] [Commented] (AMBARI-7982) HDP2.2. Zookeeper package creates "current/zookeeper-client" link

    [ https://issues.apache.org/jira/browse/AMBARI-7982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185447#comment-14185447 ] 

Hudson commented on AMBARI-7982:
--------------------------------

SUCCESS: Integrated in Ambari-branch-1.7.0 #225 (See [https://builds.apache.org/job/Ambari-branch-1.7.0/225/])
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=ebb9437f52a13a681c18ad2725182e625df46c8b)
* 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/yumrpm.py
* ambari-agent/src/test/python/resource_management/TestPackageResource.py
* ambari-common/src/main/python/resource_management/core/providers/package/zypper.py
* ambari-common/src/main/python/resource_management/core/providers/package/apt.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)