Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Securing Hadoop

You're reading from  Securing Hadoop

Product type Book
Published in Nov 2013
Publisher Packt
ISBN-13 9781783285259
Pages 116 pages
Edition 1st Edition
Languages
Author (1):
Sudheesh Narayan Sudheesh Narayan
Profile icon Sudheesh Narayan

Configuring Hadoop with Kerberos authentication


Once the Kerberos setup is completed and the user principals are added to KDC, we can configure Hadoop to use Kerberos authentication. It is assumed that a Hadoop cluster in a non-secured mode is configured and available. We will begin the configuration using Cloudera Distribution of Hadoop (CDH4).

The steps involved in configuring Kerberos authentication for Hadoop are shown in the following figure:

Setting up the Kerberos client on all the Hadoop nodes

In each of the Hadoop node (master node and slave node), we need to install the Kerberos client. This is done by installing the client packages and libraries on the Hadoop nodes.

For RHEL/CentOS/Fedora, we will use the following command:

yum install krb5-libs krb5-workstation

For Ubuntu, we will use the following command:

apt-get install krb5-user

Setting up Hadoop service principals

In CDH4, there are three users (hdfs, mapred, and yarn) that are used to run the various Hadoop daemons. All the...

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}