Skip to main content

Amabri python client based on ambari rest api.

Project description

Ambari 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.

Files for ambari, version 0.1.6
Filename, size File type Python version Upload date Hashes
Filename, size ambari-0.1.6.tar.gz (8.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page