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

[jira] [Resolved] (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:all-tabpanel ]

Dmytro Sen resolved AMBARI-7982.
--------------------------------
    Resolution: Fixed

Committed to trunk and branch-1.7.0

> 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)