[ https://issues.apache.org/jira/browse/RANGER-3774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Binhua Hu updated RANGER-3774: ------------------------------ Summary: The usersync lack dependency in assembly file (was: The usersync lack dependency in ) > The usersync lack dependency in assembly file > --------------------------------------------- > > Key: RANGER-3774 > URL: https://issues.apache.org/jira/browse/RANGER-3774 > Project: Ranger > Issue Type: Improvement > Components: usersync > Affects Versions: 2.2.0 > Reporter: Binhua Hu > Priority: Major > > When I execute the setup.sh script in usersync's execution directory, the > error is as follows, > {code:java} > // 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. {code} > By looking at the assembly file(usersync.xml), I found that slf4j-log4j12 > dependency is missing -- This message was sent by Atlassian Jira (v8.20.7#820007)