Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Apache Hadoop 3 Quick Start Guide

You're reading from  Apache Hadoop 3 Quick Start Guide

Product type Book
Published in Oct 2018
Publisher Packt
ISBN-13 9781788999830
Pages 220 pages
Edition 1st Edition
Languages
Author (1):
Hrishikesh Vijay Karambelkar Hrishikesh Vijay Karambelkar
Profile icon Hrishikesh Vijay Karambelkar

Table of Contents (10) Chapters

Preface Hadoop 3.0 - Background and Introduction Planning and Setting Up Hadoop Clusters Deep Dive into the Hadoop Distributed File System Developing MapReduce Applications Building Rich YARN Applications Monitoring and Administration of a Hadoop Cluster Demystifying Hadoop Ecosystem Components Advanced Topics in Apache Hadoop Other Books You May Enjoy

Setting up a pseudo Hadoop cluster

In the last section, we managed run Hadoop in a standalone mode. In this section, we will create a pseudo Hadoop cluster on a single node. So, let's try and set up HDFS daemons on a system in the pseudo distributed mode. When we set up HDFS in a pseudo distributed mode, we install name nodes and data nodes on the same machine, but before we start the instances for HDFS, we need to set the configuration files correctly. We will study different configuration files in the next chapter. First, open core-sites.xml with the following command:

hadoop@base0:/$  vim etc/hadoop/core-sites.xml

Now, set the DFS default name for the file system using the fs.default.name property. The core site file is responsible for storing all of the configuration related to Hadoop Core. Replace the content of the file with the following snippet:

<configuration...
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 $15.99/month. Cancel anytime}