Reader small image

You're reading from  Apache Oozie Essentials

Product typeBook
Published inDec 2015
Reading LevelIntermediate
Publisher
ISBN-139781785880384
Edition1st Edition
Languages
Right arrow
Author (1)
Jagat Singh
Jagat Singh
author image
Jagat Singh

Contacted on 12/01/18 by Davis Anto
Read more about Jagat Singh

Right arrow

Oozie in secured cluster


A Hadoop cluster, which has been secured, needs some additional configuration for Oozie to work properly. The standard actions like Pig or MapReduce do not need any additional configuration from the Oozie side to run. However, when Oozie needs to talk to external services such as HBase, HCatalog, and Hive2 Server, we need to know how to authenticate them.

This is done by providing information about credentials for the security. Oozie has provided implementation for authentication for different external tools like Hive, HBase, and HCat.

In oozie-site.xml, we need to add the following code:

<property>
  <name>oozie.credentials.credentialclasses</name>
  <value>
    hcat=org.apache.oozie.action.hadoop.HCatCredentials,
    hbase=org.apache.oozie.action.hadoop.HbaseCredentials,
    hive2=org.apache.oozie.action.hadoop.Hive2Credentials
  </value>
</property>

In workflow.xml, we need to state that we want to use the declared credentials and...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Apache Oozie Essentials
Published in: Dec 2015Publisher: ISBN-13: 9781785880384

Author (1)

author image
Jagat Singh

Contacted on 12/01/18 by Davis Anto
Read more about Jagat Singh