Why Get DATA keyword has been used in zookeeper?

0 votes

Hi,

Can someone explain why GetData keyword is used in zookeeper?

May 27, 2019 in Big Data Hadoop by sunny

edited May 27, 2019 by Gitika 82 views

1 answer to this question.

0 votes

Hey,

It returns the associated data of the znode and metadata of the specified znode. You will get information such as when the data was last modified, where it was modified, and information about the data. This CLI is also used to assign watches to show notification about the data.

Syntax:-

get /path 

Sample:-

get /FirstZnode

Output:-

[zk: localhost:2181(CONNECTED) 1] get /FirstZnode
“Myfirstzookeeper-app”
cZxid = 0x7f
ctime = Tue Sep 29 16:15:47 IST 2015
mZxid = 0x7f
mtime = Tue Sep 29 16:15:47 IST 2015
pZxid = 0x7f
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 22
numChildren = 0

answered May 27, 2019 by Gitika
• 33,150 points

Related Questions In Big Data Hadoop

0 votes
1 answer

Why CREATE EXTERNAL keyword is used in Hive?

Hey, The create external keyword is used to create a ...READ MORE

answered May 15, 2019 in Big Data Hadoop by Gitika
• 33,150 points
92 views
0 votes
1 answer

Why Count keyword is used in HBase?

Hey, An aggregate function that returns the number ...READ MORE

answered May 24, 2019 in Big Data Hadoop by Gitika
• 33,150 points
79 views
0 votes
1 answer

Is Kafka and Zookeeper are required in a Big Data Cluster?

Apache Kafka is one of the components ...READ MORE

answered Mar 22, 2018 in Big Data Hadoop by nitinrawat895
• 10,920 points
667 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
• 10,920 points
5,453 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,920 points
804 views
+1 vote
11 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyF ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
33,843 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,310 points
2,061 views
0 votes
1 answer

Why Alter keyword has been used in HBase?

Hey, Alter is the command used to make ...READ MORE

answered May 23, 2019 in Big Data Hadoop by Gitika
• 33,150 points
67 views
0 votes
1 answer

Why Watch keyword is used in zookeeper?

Hey, Watches show a notification when the specified ...READ MORE

answered May 27, 2019 in Big Data Hadoop by Gitika
• 33,150 points
78 views