Support Questions
Find answers, ask questions, and share your expertise

Who agreed with this topic

Oozie is using oozie user from hue to login in hbase.


Hi everyone,


Here is my problem:


Caused by: org.apache.hadoop.hbase.ipc.RemoteWithExtrasException( Insufficient permissions (user=oozie/XXXXXXX, scope=default, params=[namespace=default,table=default:XX_XX.,family=v],action=CREATE)


And here is my workflow.xml:


<workflow-app name="HBASE_TEST" xmlns="uri:oozie:workflow:0.5">
<credential name="hbase" type="hbase">
<start to="java-2e83"/>
<kill name="Kill">
<message>Action failed, error message[${wf:errorMessage(wf:lastErrorNode())}]</message>
<action name="java-2e83" cred="hbase">
<ok to="End"/>
<error to="Kill"/>
<end name="End"/>

Curent user in hue is not oozie. And this user can explore Hbase using hbase app. Also it can select any information from Hbase using hive. (current user has all privileges in Hbase). 


So, how can I make oozie to use current user to access HBase from java application?


P.S. Hue - 3.7.0, HBase - 1.0.0 and CDH is 5.4.7.





Who agreed with this topic