How to remove a Znode in Zookeeper?

0 votes
Hello,

Can anyone suggest the command for removing znode in zookeeper?
May 28 in Big Data Hadoop by zara
27 views

1 answer to this question.

0 votes

Hey,

Removes a specified znode and recursively all its children. This would happen only if such a znode is available.

Syntax:-

rmr /path

Sampe:-

rmr /FirstZnode

Output:-

[zk: localhost:2181(CONNECTED) 10] rmr /FirstZnode
[zk: localhost:2181(CONNECTED) 11] get /FirstZnode
Node does not exist: /FirstZnode

answered May 28 by Gitika
• 19,720 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How to create an Ephemeral Znode in zookeeper?

Hey, To create an Ephemeral Znode, add -e flag as shown ...READ MORE

answered May 27 in Big Data Hadoop by Gitika
• 19,720 points
17 views
0 votes
1 answer

How to create Children or Sub-znode in zookeeper?

Hey, Creating children is similar to creating new ...READ MORE

answered May 27 in Big Data Hadoop by Gitika
• 19,720 points
20 views
0 votes
1 answer

How is Delete command is different with remove command with znode in zookeeper?

Hey, Delete (delete /path) command is similar to remove command, except the ...READ MORE

answered May 28 in Big Data Hadoop by Gitika
• 19,720 points
15 views
0 votes
7 answers

How to run a jar file in hadoop?

I used this command to run my ...READ MORE

answered Dec 10, 2018 in Big Data Hadoop by Dasinto
4,015 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,110 points
2,046 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,110 points
196 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
10,458 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,240 points
764 views
0 votes
1 answer

How to create znode in zookeeper?

Hey, Create a znode with the given path. The flag argument ...READ MORE

answered May 27 in Big Data Hadoop by Gitika
• 19,720 points
19 views
0 votes
1 answer

How to create sequential znode in zookeeper?

Hey, To create a Sequential znode, add -s flag as shown ...READ MORE

answered May 27 in Big Data Hadoop by Gitika
• 19,720 points
23 views