ambari-0.1.7
توضیحات
Amabri python client based on ambari rest api.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ambari-0.1.7 |
| نام | ambari |
| نسخه کتابخانه | 0.1.7 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Excel Wang |
| ایمیل نویسنده | wanghj@cnic.com |
| آدرس صفحه اصلی | https://github.com/excelwang/ambari-python-client |
| آدرس اینترنتی | https://pypi.org/project/ambari/ |
| مجوز | Apache-2.0 Licence |
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()
نحوه نصب
نصب پکیج whl ambari-0.1.7:
pip install ambari-0.1.7.whl
نصب پکیج tar.gz ambari-0.1.7:
pip install ambari-0.1.7.tar.gz