zuloofresh.blogg.se

Ambari quicklinks
Ambari quicklinks














YARN and MapReduce2 are services that are defined together in the YARN folder. Though it is possible, it is discouraged to define multiple services in the same service folder. Question: Is it possible to define multiple services in the same metainfo.xml? A good reference implementation is the HDFS metainfo.xml. In the metainfo.xml service descriptor, one can first define the service and its components.Ĭomplete reference can be found in the Writing metainfo.xml page. For more information see the Service Inheritance page. More details about these files are provided below.Ī service may also inherit from either a previous stack version or common services. Apart from that, other files can be provided to give more information about the service. Services MUST provide the main metainfo.xml file which provides important metadata about the service. The same approach can be taken when defining services in the stacks folder, which will be discussed in the Define Stack section.

Shown below is how to define a service in common-services folder. Basically services defined in stacks folder are used by containment, whereas the ones defined in common-services are used by reference. Likewise, if a service is never going to be shared, it can be defined in the stacks folder. For example, almost all stacks would need the HDFS service - so instead of redefining HDFS in each stack, the one defined in common-services is referenced.

ambari quicklinks

One would define services in the common-services folder if there is possibility of the service being used in multiple stacks. Question: When do I define service in common-services vs. These folders after install can be found at /var/lib/ambari-server/resources/common-services or /var/lib/ambari-server/resources/stacks folders respectively. Services managed by a stack can be defined either in ambari-server/src/main/resources/common-services or ambari-server/src/main/resources/stacks folders. Stacks in Ambari are defined in ambari-server/src/main/resources/stacks folder, which can be found at /var/lib/ambari-server/resources/stacks folder after install. Multiple versions of a stack can be defined, each with its own set of services.














Ambari quicklinks