zookeeper集群强烈阻止删除路径

62lalag4  于 2021-05-27  发布在  Hadoop
关注(0)|答案(0)|浏览(257)

我的zookeeper集群包含3个节点,强烈阻止其控制台删除路径。我的目标路径是“/hadoop ha/ha cluster”。当我使用delete甚至rmr这样的常用命令时,控制台只返回“node not empty:/hadoop ha/ha cluster”。请帮我摆脱这条路。

[zk: n1:2181(CONNECTED) 1] rmr /hadoop-ha/ha-cluster
Node not empty: /hadoop-ha/ha-cluster
[zk: n1:2181(CONNECTED) 2] ls /hadoop-ha/ha-cluster
[ActiveBreadCrumb, ActiveStandbyElectorLock]
[zk: n1:2181(CONNECTED) 3] delete /hadoop-ha/ha-cluster
Node not empty: /hadoop-ha/ha-cluster
[zk: n1:2181(CONNECTED) 4] rmr /hadoop-ha/ha-cluster
Node not empty: /hadoop-ha/ha-cluster
[zk: n1:2181(CONNECTED) 5] delete /hadoop-ha/ha-cluster/ActiveBreadCrumb
[zk: n1:2181(CONNECTED) 6] delete /hadoop-ha/ha-cluster/ActiveStandbyElectorLock
[zk: n1:2181(CONNECTED) 7] ls /hadoop-ha/ha-cluster
[ActiveBreadCrumb, ActiveStandbyElectorLock]
[zk: n1:2181(CONNECTED) 8] rmr /hadoop-ha/ha-cluster
Node not empty: /hadoop-ha/ha-cluster
[zk: n1:2181(CONNECTED) 9] rmr /hadoop-ha/ha-cluster/ActiveBreadCrumb
[zk: n1:2181(CONNECTED) 10] rmr /hadoop-ha/ha-cluster/ActiveStandbyElectorLock
[zk: n1:2181(CONNECTED) 11] ls /hadoop-ha/ha-cluster
[ActiveBreadCrumb, ActiveStandbyElectorLock]
[zk: n1:2181(CONNECTED) 12] rmr /hadoop-ha/ha-cluster
Node not empty: /hadoop-ha/ha-cluster

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题