Support Questions

Find answers, ask questions, and share your expertise

Ranger Tagsync doesn't sync Tags



I got a problem with ranger tagsync, I have SSL on my cluster and my tag policy are not working.

When I checked the ranger database, the x_tag tables are empty but I got no error messages on tagsync log files. Tha json files are also empty.

I don't know where I can find the problem.




do you see any error on ranger admin logs? see if you can enable debug on tag sync log and see errors.



The onlie error I get on Ranger admin is :

  1. DEBUG ( - JDBC Authentication failure: Bad credentials at at at at at at at at$VirtualFilterChain.doFilter( at at$VirtualFilterChain.doFilter( at at$VirtualFilterChain.doFilter( at at$VirtualFilterChain.doFilter( at at at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate( at org.springframework.web.filter.DelegatingFilterProxy.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( at org.apache.catalina.core.ApplicationFilterChain.doFilter( at org.apache.catalina.core.StandardWrapperValve.invoke( at org.apache.catalina.core.StandardContextValve.invoke( at org.apache.catalina.authenticator.AuthenticatorBase.invoke( at org.apache.catalina.core.StandardHostValve.invoke( at org.apache.catalina.valves.ErrorReportValve.invoke( at org.apache.catalina.valves.AccessLogValve.invoke( at org.apache.catalina.core.StandardEngineValve.invoke( at org.apache.catalina.connector.CoyoteAdapter.service( at org.apache.coyote.http11.AbstractHttp11Processor.process( at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( at$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at org.apache.tomcat.util.threads.TaskThread$ at

I see no error message on tag sync log (in debug mode)

Thanks for your help

Cloudera Employee

@Fabien VIROT Could you please check tagsync.out file for any errors? Also, could you check ranger-admin's access_log*.log files to see if there is any tags being imported (seach for string 'importservicetags') ?



@akulkarni On ranger-admin's access_log I have no tag imported and in Tagsync.out I have :

log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.DailyRollingFileAppender.

log4j:WARN No such property [maxFileSize] in org.apache.log4j.DailyRollingFileAppender.

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See for further details. {,,, security.protocol=PLAINTEXT}