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

The usersync lack dependency in assembly file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • usersync
    • None

    Description

      When I execute the setup.sh script in usersync's execution directory, the error is as follows,

      // INFO: moving [/opt/usersync/conf/java_home.sh] to [/opt/usersync/conf/.java_home.sh.24052022154528] .......
      Direct Key not found:SYNC_GROUP_USER_MAP_SYNC_ENABLED
      Direct Key not found:hadoop_conf
      Direct Key not found:ranger_base_dir
      Direct Key not found:USERSYNC_PID_DIR_PATH
      Direct Key not found:rangerUsersync_password
      [I] ranger.usersync.ldap.ldapbindpassword property is verified.
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      log4j:WARN No appenders could be found for logger (org.apache.htrace.core.Tracer).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      The alias usersync.ssl.key.password already exists!! Will try to delete first.
      FOUND value of [interactive] field in the Class [org.apache.hadoop.security.alias.CredentialShell] = [true]
      Deleting credential: usersync.ssl.key.password from CredentialProvider: jceks://file/opt/ranger-2.2.0-usersync/conf/rangerusersync.jceks
      Credential usersync.ssl.key.password has been successfully deleted. 

      By looking at the assembly file(usersync.xml), I found that slf4j-log4j12 dependency is missing

      Attachments

        Activity

          People

            Unassigned Unassigned
            amazingBoy_hbh Binhua Hu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: