Support Questions
Find answers, ask questions, and share your expertise

Schedule ID in HDFS

Schedule ID in HDFS

New Contributor

I have a question regarding the fact how to obtain a schedule id in HDFS.

 

I have tried through “read schedules” :

 

api_response = api_instance.read_schedules(cluster_name, service_name, limits=limits)

 

but that takes very long time, and I would suppose "limits" should select just criteria I want to know about. Unfortunately the Cloudera documentation defines limits as : "Various limits on contents of returned schedules" and does not specify what should be entered there in order to filter out the schedule IDs.

 

(Here is the documentation of the command : https://archive.cloudera.com/cm6/6.0.0/generic/jar/cm_api/swagger-html-sdk-docs/python/docs/Replicat...)

 

Does anyone have idea how to obtain schedule id through Python API? Or what do the “limits” in read schedules mean and how to set it so it doesn’t retrieve whole history but just IDs I need? 


thanks In advance!