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 14:32:33 UTC

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

Dmytro Sen created AMBARI-7982:
----------------------------------

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