[ https://issues.apache.org/jira/browse/RANGER-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hugo WARIN updated RANGER-4953: ------------------------------- Summary: Ranger hbase-agent doesn't work with hbase 2.6 when using hadoop 3.3.6 (was: Ranger doesn't work with hbase 2.6 when using hadoop 3.3.6) > Ranger hbase-agent doesn't work with hbase 2.6 when using hadoop 3.3.6 > ---------------------------------------------------------------------- > > Key: RANGER-4953 > URL: https://issues.apache.org/jira/browse/RANGER-4953 > Project: Ranger > Issue Type: Bug > Components: plugins > Affects Versions: 2.5.0 > Reporter: Hugo WARIN > Priority: Major > Labels: HBASE > > Hello, > I have this issue on my stack > {code:java} > 2024-09-23T08:12:51.336Z - ERROR > [PolicyRefresher(serviceName=hbase-tdp)-196:Errors@168] - The following > errors and warnings have been detected with resource and/or provider classes: > SEVERE: Missing dependency for method public void > com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) > at parameter at index 0 SEVERE: Missing dependency for method public void > com.sun.jersey.json.impl.provider.entity.JSONListElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) > at parameter at index 0 SEVERE: Missing dependency for method public void > com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) > at parameter at index 0 SEVERE: Missing dependency for method public void > com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) > at parameter at index 0 SEVERE: Missing dependency for field: > javax.ws.rs.core.UriInfo > com.sun.jersey.server.impl.template.ViewableMessageBodyWriter.ui SEVERE: > Missing dependency for field: com.sun.jersey.spi.template.TemplateContext > com.sun.jersey.server.impl.template.ViewableMessageBodyWriter.tc SEVERE: > Missing dependency for method public void > com.sun.jersey.json.impl.provider.entity.JSONListElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) > at parameter at index 0 SEVERE: Missing dependency for method public void > com.sun.jersey.json.impl.provider.entity.JacksonProviderProxy.setFeaturesAndProperties(com.sun.jersey.core.util.FeaturesAndProperties) > at parameter at index 1 SEVERE: Missing dependency for method public void > com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) > at parameter at index 0 SEVERE: Missing dependency for method public void > com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider.setConfiguration(com.sun.jersey.core.util.FeaturesAndProperties) > at parameter at index 0 > {code} > The issue is that jersey-json and jersey-jar are missing on the hbase plugin > The solution is to add this lines to distro/src/main/assembly/hbase-agent.xml > under > lib/ranger-hbase-plugin-impl > {code:java} > <include>com.sun.jersey:jersey-json:jar:${jersey-bundle.version}</include>Line58added > > <include>com.sun.jersey:jersey-server:jar:${jersey-bundle.version}</include>Line59added > > <include>com.sun.jersey:jersey-servlet:jar:${jersey-bundle.version}</include> > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)