Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Modern Big Data Processing with Hadoop

You're reading from   Modern Big Data Processing with Hadoop Expert techniques for architecting end-to-end big data solutions to get valuable insights

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781787122765
Length 394 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (3):
Arrow left icon
 R Patil R Patil
Author Profile Icon R Patil
R Patil
 Shindgikar Shindgikar
Author Profile Icon Shindgikar
Shindgikar
 Kumar Kumar
Author Profile Icon Kumar
Kumar
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
1. Enterprise Data Architecture Principles 2. Hadoop Life Cycle Management FREE CHAPTER 3. Hadoop Design Consideration 4. Data Movement Techniques 5. Data Modeling in Hadoop 6. Designing Real-Time Streaming Data Pipelines 7. Large-Scale Data Processing Frameworks 8. Building Enterprise Search Platform 9. Designing Data Visualization Solutions 10. Developing Applications Using the Cloud 11. Production Hadoop Cluster Deployment Index

Configuration of HA NameNodes with QJM


Add the following properties to hdfs-site.xml:

Property

Value

dfs.nameservices

cluster_name

dfs.ha.namenodes.cluster_name

NN1, NN2

dfs.namenode.rpc-address.cluster_name.NN1

machine1:8020

dfs.namenode.rpc-address.cluster_name.NN2

machine2:8020

dfs.namenode.http-address.cluster_name.NN1

machine1:50070

dfs.namenode.http-address.cluster_name.NN2

machine2:50070

dfs.namenode.shared.edits.dir

qjournal://node1:8485;node2:8485;node3:8485/cluster_name

dfs.client.failover.proxy.provider.cluster_name

org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider

dfs.ha.fencing.methods

sshfence

dfs.ha.fencing.ssh.private-key-files

/home/myuser/.ssh/id_rsa

dfs.ha.fencing.methods

sshfence([[username][:port]])

dfs.ha.fencing.ssh.connect-timeout

30000

 

Add the following properties tocore-site.xml:

Property

Value

fs.defaultFS

hdfs://cluster_name

dfs.journalnode.edits.dir

/path/to/journal/node/local/datat

Automatic failover

It's very important to know that the above two architectures support...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images