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()
Release files for ambari 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ambari-0.1.7.tar.gz | 8.5 kB | Details |
Release files / ambari-0.1.7.tar.gz
| Download URL | ambari-0.1.7.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de5c11e62bdb5149e3c1a23440cb96063a5f206895214b3a81073eb72fe76cb4
|
|
BLAKE2b-256 checksum How to use checksums |
5fbc3a92b80a2ea20fd7f1f11c17c372297ee7ea299f2ca5e3d758b6b1c526fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|