Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2057

ranger-ugsync-default file not found and Log message

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0, 1.0.1
    • Component/s: Ranger
    • Labels:
      None

      Description

      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.

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              pradeep.agrawal Pradeep Agrawal
              Reporter:
              suja suja s
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: