You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Tim Thorpe (JIRA)" <ji...@apache.org> on 2016/03/21 21:56:25 UTC

[jira] [Created] (AMBARI-15498) Adding a host service component doesn't take into account component dependencies

Tim Thorpe created AMBARI-15498:
-----------------------------------

             Summary: Adding a host service component doesn't take into account component dependencies
                 Key: AMBARI-15498
                 URL: https://issues.apache.org/jira/browse/AMBARI-15498
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.2.0
            Reporter: Tim Thorpe


I created a 3 node cluster with just Hadoop and Zookeeper then added HBase.  I assigned the NameNode on 1st node, the DataNode on the 2nd and made sure the 3rd node was only running Zookeeper with no clients or HDFS components.

After the cluster was installed, I attempted to add HBase on the 3rd node.  The HDFS client is not installed.  

It may seem to get installed but that just happens because of RPM dependencies and the hdp-select set all being run.  The HBase RPM has a dependency on the Hadoop RPM not the Hadoop client RPM, you can verify that it is not installed by checking the RPMs which are installed.

You can also check by verifying the task list.  There is no separate task for installing the Hadoop client.

The only references to the dependency scope in the Ambari server code is in the blueprints which will honor the dependencies.

Creating a cluster without a blueprint or adding a component after the cluster is created will both not honor the dependencies.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)