@Cristiano
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.