一、问题:安装组件,parcel激活卡住不动
二、解决:
2.1点击API文档

2.2点击rest;找到deactive,点击进去

2.3 查看rest接口信息

2.4 使用方法:
curl -u admin:admin -X POST
http://${cloudera-managerIP}/api/v16/clusters/{clusterName}/parcels
/products/{product}/versions/{version}/commands/deactivate
2.4.1 上面参数:
clusterName获取;获取其中的name属性
curl -u admin:admin "http://${cloudera-managerIP}/api/v16/clusters"
product与version获取
比如:

则product是SOLR,version是1.3.0-1.cdh4.5.0.p0.9
网友评论