Support Questions
Find answers, ask questions, and share your expertise

Ambari Custom command only works for single host.

New Contributor

I am using Ambari 2.4.1.0. I had written custom command(for MASTER component with cardinality 1+) for one of my custom service. I am installing multiple instances of the component on multiple Ambari agent. But while issuing custom command command it runs on only one of the hosts(Ambari agent) where the component is installed, not on all the hosts(Ambari agent). Am I doing anything wrong? How to write custom command that runs on all MASTER component instances?

1 REPLY 1

Mentor

@Ankur Shah

Are you talking of Ambari blueprint ? or what custom command precisely?

Ca you share your code here .