You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Mehul Parikh (JIRA)" <ji...@apache.org> on 2016/06/13 07:01:20 UTC
[jira] [Created] (RANGER-1027) Packaging changes for Ranger Atlas
Plugin
Mehul Parikh created RANGER-1027:
------------------------------------
Summary: Packaging changes for Ranger Atlas Plugin
Key: RANGER-1027
URL: https://issues.apache.org/jira/browse/RANGER-1027
Project: Ranger
Issue Type: Bug
Components: plugins
Affects Versions: 0.6.0
Reporter: Mehul Parikh
Assignee: Mehul Parikh
Fix For: 0.6.0
Need following changes to get Ranger Atlas plugin working :
1. enable-atlas-plugin.sh: plugin libraries should be copied to libext directory, instead of server/webapp/WEB-INF/lib directory
2. Missing slf4j-api-1.7.5.jar under install/lib:
3. Could not instantiate bean class [org.apache.atlas.web.filters.AtlasAuthorizationFilter]. Missing hadoop-auth.jar under ranger-atlas-plugin-impl directory.
{code}
Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.security.authentication.util.KerberosUtil.hasKerberosKeyTab(Ljavax/security/auth/Subject;)Z
at org.apache.hadoop.security.UserGroupInformation.<init>(UserGroupInformation.java:623)
at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:813)
at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:774)
at org.apache.ranger.audit.provider.MiscUtil.getUGILoginUser(MiscUtil.java:485)
at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:93)
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:217)
at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:185)
at org.apache.ranger.plugin.util.PolicyRefresher.startRefresher(PolicyRefresher.java:136)
at org.apache.ranger.plugin.service.RangerBasePlugin.init(RangerBasePlugin.java:105)
at org.apache.ranger.authorization.atlas.authorizer.RangerAtlasAuthorizer.init(RangerAtlasAuthorizer.java:55)
at org.apache.ranger.authorization.atlas.authorizer.RangerAtlasAuthorizer.init(RangerAtlasAuthorizer.java:85)
at org.apache.atlas.web.filters.AtlasAuthorizationFilter.<init>(AtlasAuthorizationFilter.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 58 more
Fix: cp ./hadoop-mapreduce/hadoop-auth-2.7.1.2.5.0.0-688.jar ranger-atlas-plugin/lib/ranger-atlas-plugin-impl/
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)