Where do you find all life cycle methods for CDH ? I am looking for all methods which are available . stop services , calculating job completion time in spark/mr etc .
Very eager to receive responses
Here you can find the CDH 5.8.0 API:
If you need an another version of CDH then you need to change the "hadoop-2.6.0-cdh5.8.0" related part in the URL.
Cloudera Manager API: https://cloudera.github.io/cm_api/
Spark API: https://spark.apache.org/docs/1.6.0/api.html