microscopic-mechanic-13766
09/26/2022, 7:30 AMWARN 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":
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.careful-lunch-53644
03/21/2023, 9:23 AMmicroscopic-mechanic-13766
03/21/2023, 9:25 AMBasic authentication is enabled on Apache Ranger Service
as my Ranger has Kerberos Authentication.