Amabri python client based on ambari rest api.
pip install ambari
ambari -h
from ambari.client import Client
client=Client('http://localhost:8080')
for s in client.cluster.services: print(s.name)
Amabri python client based on ambari rest api.
pip install ambari
ambari -h
from ambari.client import Client
client=Client('http://localhost:8080')
for s in client.cluster.services: print(s.name)