If you see Cloudera Manager server log produced lots of below warning messages:

2019-11-22 14:42:22,077 WARN scm-web-408509:org.apache.cxf.jaxrs.utils.JAXRSUtils: Both com.cloudera.api.v4.impl.ClustersResourceV4Impl#getServicesResource and com.cloudera.api.v4.impl.ClustersResourceV4Impl#getServicesResource are equal candidates for handling the current request which can lead to unpredictable results

particularly in CM6 and above, chances are that you are hitting known Apache CXF issue, the library that CM uses:

CXF-6684
CXF-7670

There is no harm to this message as far as Cloudera is concerned, so we can simply ignore those messages by decreasing the log level to ERROR for class JAXRSUtils:

  • Log into CM server host
  • Open file /etc/cloudera-scm-server/log4j.properties
  • Add below line into the file:
    log4j.logger.org.apache.cxf.jaxrs.utils.JAXRSUtils=ERROR
  • Then restart CM server

Leave a Reply

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