如何在激活阶段停止 cdh 的 STREAMSETS 包裹安装
How to stop cdh's STREAMSETS parcel installing with activing stage
cm api: 簇:7180/ap1/v14/clusters/cluster/parcels/products/STREAMSETS_DATACOLLECTOR/versions/3.2.0.0
改写:
{
"product" : "STREAMSETS_DATACOLLECTOR",
"versions" : "3.2.0.0",
"stage" : "ACTIVATING",
"state" : {
"progress" : 0,
"totalProgress" : 100,
"count" : 0,
"totalCouny" : 3
},
"clusterRef" : {
"clusterName" : "cluster"
}
}
现在一直在激活,我停不下来!!!
像这样
enter image description here
enter image description here
请帮帮我!!
ps: use api: cluster:7180/ap1/v14/clusters/cluster/parcels/products/STREAMSETS_DATACOLLECTOR/versions/3.2.0.0/commands/deactive 停不下来它;
现在已经解决了。使用 curl -u username:password -X POST "...cm api"
可以使用linux中的命令执行api:
curl -u username:password -X POST
"http://ip:7180/ap1/v14/clusters/cluster/parcels/products/STREAMSETS_DATACOLLECTOR/versions/3.2.0.0"
结束激活状态。
不带网页执行apis,不生效
cm api: 簇:7180/ap1/v14/clusters/cluster/parcels/products/STREAMSETS_DATACOLLECTOR/versions/3.2.0.0
改写:
{
"product" : "STREAMSETS_DATACOLLECTOR",
"versions" : "3.2.0.0",
"stage" : "ACTIVATING",
"state" : {
"progress" : 0,
"totalProgress" : 100,
"count" : 0,
"totalCouny" : 3
},
"clusterRef" : {
"clusterName" : "cluster"
}
}
现在一直在激活,我停不下来!!!
像这样
enter image description here
enter image description here
请帮帮我!!
ps: use api: cluster:7180/ap1/v14/clusters/cluster/parcels/products/STREAMSETS_DATACOLLECTOR/versions/3.2.0.0/commands/deactive 停不下来它;
现在已经解决了。使用 curl -u username:password -X POST "...cm api"
可以使用linux中的命令执行api:
curl -u username:password -X POST "http://ip:7180/ap1/v14/clusters/cluster/parcels/products/STREAMSETS_DATACOLLECTOR/versions/3.2.0.0"
结束激活状态。
不带网页执行apis,不生效