Skip to content

cas-packone/ambari-python-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ambari

Ambari Python client based on Ambari REST API.

Install

pip install ambari

Usage

CLI

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

Module

from ambari.client import Client

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

for s in client.cluster.services:

    print(s.name)

    s.start()

About

ambari python client based on ambari rest api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages