- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
hadoop & eco system cmdline start, stop
- Labels:
-
Cloudera Data Platform (CDP)
Created ‎12-15-2022 08:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using CDP 7.1.4 version.
Hadoop & Ecosystem without using Cloudera Manager UI
Is there a way to start and stop with Linux commands?
Created ‎12-16-2022 11:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ditto
You can use API to start the services.
To Stop and Start a CDH service, you could try to make use of the CM APIs such as the below,
Start the service - POST /clusters/{clusterName}/services/{serviceName}/commands/start
Stop the service - POST /clusters/{clusterName}/services/{serviceName}/commands/stop
https://cloudera.github.io/cm_api/apidocs/v6/path__clusters_-clusterName-_commands_stop.html
https://cloudera.github.io/cm_api/apidocs/v6/path__clusters_-clusterName-_commands_start.html
