Hello everyone, I am trying to integrate Datahub (...
# troubleshoot
m
Hello everyone, I am trying to integrate Datahub (v0.8.44) with Apache Ranger (2.2.0). I have managed to connect Datahub to Ranger, although I am getting some errors that I don't know why they are occuring (although I think the errors obtained from Ranger are the source of the errors obtained in Ranger). Errors obtained in the GMS container:
Copy code
WARN  o.a.r.a.client.RangerAdminRESTClient:1228 - Received 404 error code with body:[null], Ignoring
WARN  o.a.r.a.client.RangerAdminRESTClient:868 - Error getting policies. secureMode=false, user=datahub (auth:SIMPLE), response={"httpStatusCode":400,"statusCode":0}, serviceName=ranger_datahub
WARN  o.a.r.plugin.util.PolicyRefresher:393 - cache file does not exist or not readable '/tmp/datahub_ranger_datahub.json'
ERROR o.a.r.a.client.RangerAdminRESTClient:1220 - Error getting Roles; service not found. secureMode=false, user=datahub (auth:SIMPLE), response=404, serviceName=ranger_datahub, lastKnownRoleVersion=-1, lastActivationTimeInMillis=1663933107990
Errors obtained in Ranger trying to create the service named "ranger_datahub":
Copy code
Error! Datahub failed to find service class com.datahub.authorizer.plugin.ranger.DataHubRangerAuthPlugin. Resource lookup will not be available. Please make sure plugin jar is in the correct place.
I don't know why I am obtaining the latter error as I have downloaded the datahub plugin in the route
/opt/ranger-2.2.0-admin/ews/webapp/WEB-INF/claases/ranger-plugins/datahub
and execute the curl command to define the service inside of Ranger. Any help would be appreciated.
c
have you solved,i have the same problem.thanks.
m
No, because the ranger integration has some prerquisites, being the following the most problematic of them:
Basic authentication is enabled on Apache Ranger Service
as my Ranger has Kerberos Authentication.