How to create znode in zookeeper

0 votes

Hi,

Can anyone tell me how can I create znode in zookeeper?

May 28, 2019 in Big Data Hadoop by rashmi

edited May 28, 2019 by Gitika 4,595 views

1 answer to this question.

0 votes

Hey,

Create a znode with the given path. The flag argument specifies whether the created znode will be ephemeral, persistent, or sequential. By default, all znodes are persistent.

Syntax:-

create /path /data

Sample:-

create /FirstZnode “myfirstzookeeper-app”

Output:-

[zk: localhost:2181(CONNECTED) 0] create /FirstZnode “myfirstzookeeper-app”
Created /FirstZnode
answered May 28, 2019 by Gitika
• 65,770 points

Related Questions In Big Data Hadoop

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 28, 2019 in Big Data Hadoop by Gitika
• 65,770 points
2,745 views
0 votes
1 answer

How to remove a Znode in Zookeeper?

Hey, Removes a specified znode and recursively all ...READ MORE

answered May 28, 2019 in Big Data Hadoop by Gitika
• 65,770 points
8,948 views
0 votes
1 answer

How to create a project for the first time in Hadoop.?

If you want to learn Hadoop framework ...READ MORE

answered Jul 27, 2018 in Big Data Hadoop by Neha
• 6,300 points
1,185 views
0 votes
1 answer

How to create smaller table from big table in HIVE?

You could probably best use Hive's built-in sampling ...READ MORE

answered Sep 24, 2018 in Big Data Hadoop by digger
• 26,740 points
1,772 views
+1 vote
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
• 11,380 points
11,076 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
• 11,380 points
2,573 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
109,066 views
–1 vote
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,350 points
4,641 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 28, 2019 in Big Data Hadoop by Gitika
• 65,770 points
10,359 views
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 28, 2019 in Big Data Hadoop by Gitika
• 65,770 points
1,107 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP