1.

How Can We See All The Hosts That Are Available In Ambari?

Answer»

all_hosts = client.get_all_hosts()

PRINT all_hosts

print all_hosts.to_json_dict()

print"N"

all_hosts = client.get_all_hosts()

print all_hosts

print all_hosts.to_json_dict()

print"n"



Discussion

No Comment Found