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...