If you see lots of below such warning messages in Cloudera Manager’s server log:

2019-09-04 10:57:33,239 WARN scm-web-2579:org.apache.cxf.jaxrs.utils.JAXRSUtils: 
2019-09-04 10:57:33,239 WARN scm-web-2579:org.apache.cxf.jaxrs.utils.JAXRSUtils: 
Both com.cloudera.api.v32.impl.RootResourceV32Impl#getClustersResource and 
com.cloudera.api.v32.impl.RootResourceV32Impl#getClustersResource are equal 
candidates for handling the current request which can lead to unpredictable results

2019-09-04 10:57:33,239 WARN scm-web-2579:org.apache.cxf.jaxrs.utils.JAXRSUtils: 
Both com.cloudera.api.v32.impl.RootResourceV32Impl#getClustersResource and 
com.cloudera.api.v32.impl.RootResourceV32Impl#getClustersResource are equal 
candidates for handling the current request which can lead to unpredictable results

This is caused by a known issues in CXF: CXF-7670.

To avoid the message from being logged, turn the logging level to ERROR for JAXRSUtils class, follow steps below:

  1. Open log4j configuration file on CM server host under /etc/cloudera-scm-server/log4j.properties
  2. Add below properties:
    log4j.logger.org.apache.cxf.jaxrs.utils.JAXRSUtils=ERROR
  3. Restart CM server

Leave a Reply

Your email address will not be published. Required fields are marked *