ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pradeep Agrawal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-989) java.lang.NoClassDefFoundError: org/apache/commons/httpclient/URIException during user sync
Date Wed, 25 May 2016 13:53:12 GMT

    [ https://issues.apache.org/jira/browse/RANGER-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15300078#comment-15300078
] 

Pradeep Agrawal commented on RANGER-989:
----------------------------------------

[~kalexin] Workaround for your environment will be to copy below mentioned jar in 'ranger-usersync/lib'
 and restart ranger-usersync. These jars should be available in 'ranger-admin/ews/webapp/WEB-INF/lib/'
location as well.
commons-codec-1.9.jar
commons-httpclient-3.1.jar 

> java.lang.NoClassDefFoundError: org/apache/commons/httpclient/URIException during user
sync
> -------------------------------------------------------------------------------------------
>
>                 Key: RANGER-989
>                 URL: https://issues.apache.org/jira/browse/RANGER-989
>             Project: Ranger
>          Issue Type: Bug
>            Reporter: Kalexin Baoerjiin
>            Assignee: Pradeep Agrawal
>             Fix For: 0.6.0, 0.5.3
>
>
> After upgrading from HDP 2.3.2 to HDP 2.4. Ranger user sync fails due to the following
error:
> org/apache/commons/httpclient/URIException:
> 19 May 2016 18:15:34 ERROR UserGroupSync [UnixUserSyncThread] - Failed to initialize
UserGroup source/sink. Will retry after 60000 milliseconds. Error details:
> java.lang.NoClassDefFoundError: org/apache/commons/httpclient/URIException
>         at org.apache.ranger.unixusersync.process.PolicyMgrUserGroupBuilder.delXUserGroupInfo(PolicyMgrUserGroupBuilder.java:615)
>         at org.apache.ranger.unixusersync.process.PolicyMgrUserGroupBuilder.delXUserGroupInfo(PolicyMgrUserGroupBuilder.java:600)
>         at org.apache.ranger.unixusersync.process.PolicyMgrUserGroupBuilder.addOrUpdateUser(PolicyMgrUserGroupBuilder.java:326)
>         at org.apache.ranger.unixusersync.process.UnixUserGroupBuilder.updateSink(UnixUserGroupBuilder.java:92)
>         at org.apache.ranger.usergroupsync.UserGroupSync.run(UserGroupSync.java:58)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.httpclient.URIException
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
>         ... 6 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message