Student Reviews
( 5 Of 5 )
1 review
Video of 4.7. Apache Zookeeper Znode Types in Apache Hadoop course by CloudxLab Official channel, video No. 19 free certified online
Types of Znodes
There are three types of znodes or nodes: Persistent, Ephermal and Sequential.
Types of Znodes - Persistent
Such kind of znodes remain in zookeeper untill deleted. This is the default type of znode. To create such node you can use the command: create /name_of_myznode "mydata"
Types of Znodes - Ephermal
Ephermal node gets deleted if the session in which the node was created has disconnected. Though it is tied to client's session but it is visible to the other users.
An ephermal node can not have children not even ephermal children.
Types of Znodes - Sequential
Quite often, we need to create sequential numbers such ids. In such situations we use sequential nodes.
Sequential znode are created with number appended to the provided name.
You can create a znode by using create -s.
The following command would create a node with a zoo followed by a number: create -s /zoo v
This number keeps increasing monotonically on every node creation inside a particular node. The first sequential child node gets a suffix of 0000000000 for any node.
This Big Data Tutorial will help you learn HDFS, ZooKeeper, Hive, HBase, NoSQL, Oozie, Flume, Sqoop, Spark, Spark RDD, Spark Streaming, Kafka, SparkR, SparkSQL, MLlib, and GraphX from scratch. Everything in this course is explained with the relevant example thus you will actually know how to implement the topics that you will learn in this course.
Let us know in the comments below if you find it helpful.
In order to claim the certificate from E&ICT Academy, IIT Roorkee, visit https://bit.ly/cxlyoutube
________
Website https://www.cloudxlab.com
Facebook https://www.facebook.com/cloudxlab
Instagram https://www.instagram.com/cloudxlab
Twitter http://www.twitter.com/cloudxlab
Join Our Discord Channel to talk to Industry Experts in real-time, to help you choose a roadmap that best suits your Tech Career, using the following link: https://discord.gg/h6qjxU94DC