Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Manage rolling restart with API
Labels:
- Labels:
-
Cloudera Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to perform rolling restart on some services via API, but I'm getting this error
Command:
curl -X POST -u "admin:password" -i https://xxx.xxx.xxxx.xxxxx.com:xxx/api/v33/clusters/bigdataclu/services/s entry/commands/rollingRestart --insecure -H "Content-Type: application/json" --data '{
"slaveBatchSize" : 1,
"sleepSeconds" :0 ,
"slaveFailCountThreshold" : 0,
"staleConfigsOnly" : false,
"unUpgradedOnly" : false
}'
Error:
"slaveBatchSize" : 1,
"sleepSeconds" :0 ,
"slaveFailCountThreshold" : 0,
"staleConfigsOnly" : false,
"unUpgradedOnly" : false
}'
Error:
can you help me?
1 REPLY 1
Expert Contributor
Created ‎09-18-2020 05:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rolling restart is valid only for below services:
- Flume
- HBase
- HDFS
- Kafka
- Key Trustee KMS
- Key Trustee Server
- MapReduce
- Oozie
- YARN
- ZooKeeper
Since rolling restart is not available for Sentry, you are getting an error mentioning not a valid command.
