Beginning Apache Hadoop Administration : The First Step towards Hadoop Administration and Management by Prashant Nair
Author:Prashant Nair
Language: eng
Format: azw3
Publisher: Notion Press
Published: 2017-09-07T04:00:00+00:00
Always remember that Fencing gets invoked whenever the Active NameNode is not reachable in-terms of network (heartbeat). To monitor this instance and to invoke Fencing, a watchdog service i.e. ZKFC is used. It is the ZKFC that triggers fencing so that there are no existing split-brain scenarios.
In Hadoop HDFS HA, we can implement two types of Fencing:
SSHfence – This mechanism uses SSH to connect to the old Active NameNode machine and uses fuser command to kill the process. This method of fencing is good if the machine is reachable via the network. But what happens if the system is switched off due to a power failure? What if the network interface card gets burned/damaged? It is obvious that the SSHfence cannot kill the process. This results in no state change and transition occurrences. To avoid this situation, we prefer to use shell as a Fencing method in production setups. Let us understand shell Fencing now.
Shell – The Shell mechanism simply runs the script specified. If the script returns true, the Fencing is considered to be a success and the state transition will occur. This means that whichever NameNode was on standby will become active under any/all conditions. Ideally, if you don’t want to write a script, you can just pass ‘shell(/bin/true)’ string which says that when fencing is initiated by ZKFC, the script will return true resulting in state transition.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8308)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(6784)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(6758)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(6644)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(6431)
Driving Data Quality with Data Contracts by Andrew Jones(6371)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(6132)
Learning SQL by Alan Beaulieu(6003)
Weapons of Math Destruction by Cathy O'Neil(5794)
Big Data Analysis with Python by Ivan Marin(5385)
Data Engineering with dbt by Roberto Zagni(4389)
Solidity Programming Essentials by Ritesh Modi(4038)
Time Series Analysis with Python Cookbook by Tarek A. Atwan(3897)
Pandas Cookbook by Theodore Petrou(3598)
Blockchain Basics by Daniel Drescher(3304)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2914)
Feature Store for Machine Learning by Jayanth Kumar M J(2819)
Learn T-SQL Querying by Pam Lahoud & Pedro Lopes(2801)
Mastering Python for Finance by Unknown(2748)
