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:
- Open log4j configuration file on CM server host under /etc/cloudera-scm-server/log4j.properties
- Add below properties:
log4j.logger.org.apache.cxf.jaxrs.utils.JAXRSUtils=ERROR
- Restart CM server