Book Image

Modern Big Data Processing with Hadoop

By : V Naresh Kumar, Manoj R Patil, Prashant Shindgikar
Book Image

Modern Big Data Processing with Hadoop

By: V Naresh Kumar, Manoj R Patil, Prashant Shindgikar

Overview of this book

The complex structure of data these days requires sophisticated solutions for data transformation, to make the information more accessible to the users.This book empowers you to build such solutions with relative ease with the help of Apache Hadoop, along with a host of other Big Data tools. This book will give you a complete understanding of the data lifecycle management with Hadoop, followed by modeling of structured and unstructured data in Hadoop. It will also show you how to design real-time streaming pipelines by leveraging tools such as Apache Spark, and build efficient enterprise search solutions using Elasticsearch. You will learn to build enterprise-grade analytics solutions on Hadoop, and how to visualize your data using tools such as Apache Superset. This book also covers techniques for deploying your Big Data solutions on the cloud Apache Ambari, as well as expert techniques for managing and administering your Hadoop cluster. By the end of this book, you will have all the knowledge you need to build expert Big Data systems.
Table of Contents (12 chapters)

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]])



Add the following properties to core-site.xml:

Property Value...