ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalexin Baoerjiin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RANGER-989) java.lang.NoClassDefFoundError: org/apache/commons/httpclient/URIException during user sync
Date Thu, 26 May 2016 20:45:13 GMT

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

Kalexin Baoerjiin commented on RANGER-989:
------------------------------------------

Thanks. The workaround works. 

> 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