You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Pradeep Agrawal (JIRA)" <ji...@apache.org> on 2018/04/05 04:41:00 UTC
[jira] [Updated] (RANGER-2057) ranger-ugsync-default file not found
and Log message
[ https://issues.apache.org/jira/browse/RANGER-2057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pradeep Agrawal updated RANGER-2057:
------------------------------------
Attachment: 0001-ranger-ugsync-default-file-not-found-and-Log-message.patch
> ranger-ugsync-default file not found and Log message
> ----------------------------------------------------
>
> Key: RANGER-2057
> URL: https://issues.apache.org/jira/browse/RANGER-2057
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Reporter: Pradeep Agrawal
> Assignee: Pradeep Agrawal
> Priority: Major
> Fix For: 1.1.0, 1.0.1
>
> Attachments: 0001-ranger-ugsync-default-file-not-found-and-Log-message.patch
>
>
> Below Error log message was seen as Ranger user-sync code is trying to read config from ranger-ugsync-default-site.xml file which doesn't exist. Usersync should read the config from ranger-ugsync-default.xml file.
> {code:java}
> 29 Mar 2018 06:10:08 INFO UnixAuthenticationService [main] - Starting User Sync Service! 29 Mar 2018 06:10:09 ERROR XMLUtils [UnixUserSyncThread] - Error loading : java.lang.IllegalArgumentException: InputStream cannot be null at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:117) at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:64) at org.apache.ranger.plugin.util.XMLUtils.loadConfig(XMLUtils.java:48) at org.apache.ranger.unixusersync.config.UserGroupSyncConfig.init(UserGroupSyncConfig.java:260) at org.apache.ranger.unixusersync.config.UserGroupSyncConfig.<init>(UserGroupSyncConfig.java:254) at org.apache.ranger.unixusersync.config.UserGroupSyncConfig.getInstance(UserGroupSyncConfig.java:246) at org.apache.ranger.usergroupsync.UserGroupSync.run(UserGroupSync.java:43) at java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)