当前位置:网站首页>Synchronization mechanism of dual namenodes
Synchronization mechanism of dual namenodes
2022-06-27 16:56:00 【Just like^_^】
Preface :Hadoop2.0 Based on JournalNode The double NameNode Metadata synchronization mechanism
Log nodes (JournalNode) The concept and function of
JournalNode yes HA colony ( High availability cluster ,HighAvailabilityCluster) in Active NameNode(ANN, Activity name node ) and StandBy NameNode(SNN, Alternate name node ) Edit logs between Edits and HDFS The transmission medium for metadata sharing .
The main functions are : For two NameNode Sharing data between , sync .
The process
Active Namenode Go to Journal Nodes Write in EditLog data
StandBy Namenode Again from Journal Nodes Read from EditLog Data synchronization

Log manager (QJM) The concept and working principle of
Concept :QJM It consists of multiple log nodes JournalNodes(JN) Composed of JournalNode colony , Mainly used for storage EditLog, Generally, an odd number of JournalNodes, Need at least 3 individual , Every JournalNode Save the same EditLog copy .
be based on QJM Data synchronization mechanism of shared storage :
When Active NameNode Make any changes to the namespace , It needs to be told JournalNodes Most of the clusters ( More than half ) Of JournalNodes process
and Standby NameNode Be responsible for observing JournalNodes The change of , Have the ability to learn from JournalNodes Read from Active NameNode Messages sent , Keep monitoring EditLog The change of , And update its internal namespace , Keep monitoring EditLog The change of , And update its internal namespace
once Active NameNode Encounters an error ,Standby NameNode Need to have been from JournalNodes Read all in EditLog journal , Ensure that before the failover occurs NameNodes The state of has been fully synchronized , then ,Standby NameNode Switch to Active state
边栏推荐
- Bit. Store: long bear market, stable stacking products may become the main theme
- 10分钟掌握mysql的安装步骤
- About how vs2019c # establishes the login interface, the user name and password entered must match the records in the access database
- Oracle concept II
- Kubernetes basic self-study series | introduction to ingress API
- A large number of missing anchor text
- After the mobile phone, it was reported that Samsung also cut the output of TV and other home appliance product lines
- [fxcg] today's market analysis
- 防火墙基础之源NAT地址转换和服务器映射web页面配置
- d3dx9_ How to repair 33.dll? d3dx9_ What if 33.dll is lost?
猜你喜欢

【牛客刷题】NowCoder号称自己已经记住了1-100000之间所有的斐波那契数。 为了考验他,我们随便出一个数n,让他说出第n个斐波那契数。如果第n个斐波那契大于6位则只取后6位。

LeetCode每日一练(两数之和)

Hung - Mung! HDD Hangzhou station · salon hors ligne vous invite à construire l'écologie

关于#mysql#的问题:问题遇到的现象和发生背景

全面解析零知识证明:消解扩容难题 重新定义「隐私安全」

10分钟掌握mysql的安装步骤

Ti Click: quickly set up tidb online laboratory through browser | ti- team interview can be conducted immediately

Leetcode daily practice (main elements)

Autodesk NavisWorks 2022 software installation package download and installation tutorial

Drawing for example study of flashcc
随机推荐
Leetcode daily practice (longest substring without repeated characters)
C语言教师工作量管理系统
[Niuke's questions] nowcoder claims to have remembered all Fibonacci numbers between 1 and 100000. To test him, we gave him a random number N and asked him to say the nth Fibonacci number. If the nth
Sliding window + monotone queue concept and example (p1886 Logu)
C language teacher workload management system
【Pygame小游戏】这款“吃掉一切”游戏简直奇葩了?通通都吃掉嘛?(附源码免费领)
LeetCode 124. Binary tree maximum path sum - binary tree series question 8
Detailed explanation of transaction isolation level
Oracle concept 3
Solving Poisson equation by tensorflow
Etcd visualization tool: kstone deployment (I), rapid deployment based on Helm
C语言集合运算
[pygame Games] ce jeu "eat Everything" est fantastique? Tu manges tout? (avec code source gratuit)
[fxcg] today's market analysis
开源二三事|ShardingSphere 与 Database Mesh 之间不得不说的那些事
Construction and management practice of ByteDance buried point data flow
模拟进程调度
Cesium realizes satellite orbit detour
Alibaba cloud liupeizi: Inspiration from cloud games - innovation on the end
【Pygame小遊戲】這款“吃掉一切”遊戲簡直奇葩了?通通都吃掉嘛?(附源碼免費領)