Skip to main content

Amabri python client based on ambari rest api.

Project description

Amabri python client based on ambari rest api.

Install

pip install ambari

Command line

ambari -h

ambari localhost:8080 cluster create test typical_triple master1 master2 slave

ambari localhost:8080 service start ZOOKEEPER

ambari localhost:8080 host delete server2

Python modular

from ambari.client import Client

client=Client(’http://localhost:8080’)

for s in client.cluster.services:

print(s.name)

s.start()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ambari-0.0.20.tar.gz (7.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page