Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Eeach Each custom service can choose to define its own service advisor rather than define the details of its configuration and layout in the stack advisor.  This is particularly useful for custom services which are not defined in the stack.  Ambari provides the Service Advisor capability where a service can write provide a service advisor as a Python script named service-advisor.py in their service folder. This folder can be in the stack's services directory where the service is defined or can be inherited from the service definition in common-services or elsewhere.  Example: common-services/HAWQ/2.0.0.A Service Advisor allows custom services to integrate into the stack advisor behavior which only applies to the services within the stack.

Service Advisor Inheritance

...

Like the stack advisors, service advisors provide information on 4 important aspects for the service:

  1. Recommend layout of the service on cluster
  2. Recommend service configurations
  3. Validate layout of the service on cluster
  4. Validate service configurations

...