Member since
06-04-2019
4
Posts
1
Kudos Received
0
Solutions
06-06-2019
07:26 AM
Thank you so much for your prudent response. It is unfortunate that the API does not provide subcommands for each command and I can see no workaround to this at the moment. I appreciate all the help you have provided.
... View more
06-05-2019
06:28 AM
1 Kudo
Thank you for your response. I am using CM 6.0 with cm_client. The read_history command returns a list of commands triggered by the schedule. This same data can be viewed from the Replication History page of a specific replication schedule. From this page you can select the > arrow which displays a summary section consisted of duration, started at, etc. Now click the Command Details. This will bring you to a new page that shows the subcommands. I want to know if there is any API call to retrieve these subcommands. With the API call you suggested, I can get a list of commands for a specific replication schedule. I can use the id field (commandid), for this API call (https://dflbda1ea03.itg.ti.com:7183/static/apidocs/path__commands_-commandId-.html😞 /api/v19/commands/{commandId} Which returns detailed information on an asychronos command. Unfortunately, this information contains no information about the subcommands triggered by this command. Is this possible to get using the CM API? Please advise, thank you.
... View more
06-04-2019
02:08 PM
I am using the Python client API (cm_client) to create batch processes for replicaiton schedules. What I would like to do is list the command details for a specific replication schedule, specifically the subcommands (as described in the documentation - https://www.cloudera.com/documentation/enterprise/5-8-x/topics/cm_dg_view_running_recent_commands.html#concept_ktn_xsf_4l__section_s5d_kqf_4l) Is there any such API GET call that retrieves the Command Details in the Running Commands dialog box? Thank you for any help you can provide.
... View more
Labels:
- Labels:
-
Apache Hive
-
Cloudera Manager
-
HDFS