过程概述
列出已经安装的ranger服务:
yum list installed | grep ranger*
手动删除已安装ranger服务列表中的独立插件:
yum erase ranger_4_2_0_0-<component>-plugin.x86_64
详细卸载过程
卸载Ranger和Ranger-KMS
-
通过ambari停止Ranger和Ranger-KMS服务
可以使用下面的curl删除服务
curl -u admin:admin -H "X-Requested-By:ambari" -X DELETE http://<host_name>/api/v1/clusters/<cluster-name>/services/RANGER
curl -u admin:admin -H "X-Requested-By:ambari" -X DELETE http://<host_name>/api/v1/clusters/<cluster-name>/services/RANGER_KMS
-
列出已经安装的ranger服务:
yum list installed | grep ranger*
手动删除已安装ranger服务列表中的独立插件:
yum erase ranger_4_2_0_0-admin.x86_64
yum erase ranger_4_2_0_0-usersync.x86_64
yum erase ranger_4_2_0_0-kms.x86_64
-
Ranger和Range