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
Release history Release notifications | RSS feed
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.1.7.tar.gz
(8.5 kB
view details)
File details
Details for the file ambari-0.1.7.tar.gz
.
File metadata
- Download URL: ambari-0.1.7.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.14.2 setuptools/0.9.8 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de5c11e62bdb5149e3c1a23440cb96063a5f206895214b3a81073eb72fe76cb4 |
|
MD5 | f54523d78272b1feeab80c06f6f388a9 |
|
BLAKE2b-256 | 5fbc3a92b80a2ea20fd7f1f11c17c372297ee7ea299f2ca5e3d758b6b1c526fb |