HariSekhon / DevOps-Python-tools

80+ DevOps & Data CLI Tools - AWS, GCP, GCF Python Cloud Functions, Log Anonymizer, Spark, Hadoop, HBase, Hive, Impala, Linux, Docker, Spark Data Converters & Validators (Avro/Parquet/JSON/CSV/INI/XML/YAML), Travis CI, AWS CloudFormation, Elasticsearch, Solr etc.
https://www.linkedin.com/in/HariSekhon
MIT License
772 stars 340 forks source link

Zookeeper service check fix.\n Command name is ZOOKEEPER_QUORUM_SERVI… #5

Closed jaysensharma closed 6 years ago

jaysensharma commented 6 years ago

The Zookeeper service name command name is actually "ZOOKEEPER_QUORUM_SERVICE_CHECK" and not "ZOOKEEPER_SERVICE_CHECK" Hence the zookeeper service check will fail when we run:

# python ambari_trigger_service_checks.py -u admin -p admin -C plain_ambari --services=ZOOKEEPER --wait --timeout=500

Reference Community Thread: https://community.hortonworks.com/questions/176909/ambari-trigger-service-checkspy-bug.html

HariSekhon commented 6 years ago

Thanks for the fix!