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] [Created] (RANGER-2057) ranger-ugsync-default file not found and Log message
Date Thu, 05 Apr 2018 04:21:00 GMT
Pradeep Agrawal created RANGER-2057:
---------------------------------------

             Summary: 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
             Fix For: 1.1.0, 1.0.1


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)

Mime
View raw message