mysql 升级导致 升级方式:rpm -uvh *.rpm
升级之后发现服务已经不可用,但是 cloudera-scm-server 服务仍然在运行,相关的服务端口已经没有在侦听状态。
查看日志:tail -f /var/log/cloudera-scm-server/cloudera-scm-server.log
2023-05-24 14:17:42,869 WARN main:com.cloudera.cmf.persist.ReadWriteDatabaseTaskCallable: Error while executing CmfEntityManager task
javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:155)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1407)
at org.hibernate.Query.getResultList(Query.java:417)
at com.cloudera.enterprise.AbstractWrappedEntityManager.findAllEntities(AbstractWrappedEntityManager.java:195)
at com.cloudera.cmf.persist.CmfEntityManager.findAllMetrics(CmfEntityManager.java:2755)
at com.cloudera.cmon.components.MetricSchemaManager.retrievePersistedMetrics(MetricSchemaManager.java:280)
at com.cloudera.cmon.components.MetricSchemaManager.access$200(MetricSchemaManager.java:49)
at com.cloudera.cmon.components.MetricSchemaManager$2.run(MetricSchemaManager.java:164)
at com.cloudera.cmon.components.MetricSchemaManager$2.run(MetricSchemaManager.java:161)
at com.cloudera.cmf.persist.ReadWriteDatabaseTaskCallable.call(ReadWriteDatabaseTaskCallable.java:36)
at com.cloudera.cmf.persist.DatabaseExecutor.execTask(DatabaseExecutor.java:101)
at com.cloudera.cmf.persist.DatabaseExecutor.execReadWriteTask(DatabaseExecutor.java:66)
at com.cloudera.cmon.components.MetricSchemaManager.initialize(MetricSchemaManager.java:161)
at com.cloudera.cmon.components.MetricSchemaManager.initialize(MetricSchemaManager.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1623)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1086)
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:396)
at com.cloudera.server.cmf.Main.findBeanFactory(Main.java:484)
at com.cloudera.server.cmf.Main.findRootApplicationContext(Main.java:479)
at com.cloudera.server.cmf.Main.<init>(Main.java:288)
at com.cloudera.server.cmf.Main.main(Main.java:236)
Caused by: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.hibernate.property.access.spi.SetterMethodImpl.set(SetterMethodImpl.java:67)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:611)
at org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:205)
at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:4619)
at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:169)
at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:125)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1146)
at org.hibernate.loader.Loader.processResultSet(Loader.java:1005)
at org.hibernate.loader.Loader.doQuery(Loader.java:943)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:349)
at org.hibernate.loader.Loader.doList(Loader.java:2615)
at org.hibernate.loader.Loader.doList(Loader.java:2598)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2430)
at org.hibernate.loader.Loader.list(Loader.java:2425)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:502)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:371)
at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:216)
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1459)
at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1426)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1398)
... 53 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor994.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.hibernate.property.access.spi.SetterMethodImpl.set(SetterMethodImpl.java:44)
... 72 more
Caused by: com.cloudera.enterprise.JsonUtil2$JsonRuntimeException: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('C' (code 67)): was expecting a colon to separate field name and value
at [Source: (String)"{"aliases":[],"attrs":[],"baseMetric":"csv_75th_pc_request_time","baseSource":"solr_replica","choices":null,"collectionFrequencyMs":60000,"context":["CLUSTER","SERVICE","SOLR_COLLECTION","SOLR_SHARD"],"deprecated":false,"id":48961,"name":"csv_75th_pc_request_time_across_solr_replicas","sections":null,"sourceType":"ENTITY_AGGREGATE_STATS","test_value":0.0,"type":"DOUBLE","units":{"numerator":"ms"},"version_range_metric_source":{"CLUSTER":[{"keys":[{"end":"CDH 7.0.0","endType":"OPEN","start":"CDH "[truncated 1255 chars]; line: 1, column: 1464] (through reference chain: com.cloudera.cmon.MetricInfo["version_range_metric_source"]->java.util.LinkedHashMap["SOLR_SHARD"]->java.util.ArrayList[0]->com.cloudera.enterprise.SerializableMap["keys"]->java.util.ArrayList[0])
at com.cloudera.enterprise.JsonUtil2.valueFromString(JsonUtil2.java:193)
at com.cloudera.cmf.model.DbMetric.setMetricForDb(DbMetric.java:82)
... 76 more
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('C' (code 67)): was expecting a colon to separate field name and value
at [Source: (String)"{"aliases":[],"attrs":[],"baseMetric":"csv_75th_pc_request_time","baseSource":"solr_replica","choices":null,"collectionFrequencyMs":60000,"context":["CLUSTER","SERVICE","SOLR_COLLECTION","SOLR_SHARD"],"deprecated":false,"id":48961,"name":"csv_75th_pc_request_time_across_solr_replicas","sections":null,"sourceType":"ENTITY_AGGREGATE_STATS","test_value":0.0,"type":"DOUBLE","units":{"numerator":"ms"},"version_range_metric_source":{"CLUSTER":[{"keys":[{"end":"CDH 7.0.0","endType":"OPEN","start":"CDH "[truncated 1255 chars]; line: 1, column: 1464] (through reference chain: com.cloudera.cmon.MetricInfo["version_range_metric_source"]->java.util.LinkedHashMap["SOLR_SHARD"]->java.util.ArrayList[0]->com.cloudera.enterprise.SerializableMap["keys"]->java.util.ArrayList[0])
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:394)
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:365)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:302)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.cloudera.enterprise.JsonUtil2$RangeMapDeserializer.deserialize(JsonUtil2.java:345)
at com.cloudera.enterprise.JsonUtil2$RangeMapDeserializer.deserialize(JsonUtil2.java:324)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:527)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4013)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3004)
at com.cloudera.enterprise.JsonUtil2.valueFromString(JsonUtil2.java:189)
... 77 more
Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('C' (code 67)): was expecting a colon to separate field name and value
at [Source: (String)"{"aliases":[],"attrs":[],"baseMetric":"csv_75th_pc_request_time","baseSource":"solr_replica","choices":null,"collectionFrequencyMs":60000,"context":["CLUSTER","SERVICE","SOLR_COLLECTION","SOLR_SHARD"],"deprecated":false,"id":48961,"name":"csv_75th_pc_request_time_across_solr_replicas","sections":null,"sourceType":"ENTITY_AGGREGATE_STATS","test_value":0.0,"type":"DOUBLE","units":{"numerator":"ms"},"version_range_metric_source":{"CLUSTER":[{"keys":[{"end":"CDH 7.0.0","endType":"OPEN","start":"CDH "[truncated 1255 chars]; line: 1, column: 1478]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1804)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:693)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:591)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipColon2(ReaderBasedJsonParser.java:2206)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipColon(ReaderBasedJsonParser.java:2185)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextFieldName(ReaderBasedJsonParser.java:920)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:295)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
... 96 more
2023-05-24 14:17:42,872 WARN main:com.cloudera.cmon.components.MetricSchemaManager: Error initializing the metric schema
javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:155)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1407)
at org.hibernate.Query.getResultList(Query.java:417)
at com.cloudera.enterprise.AbstractWrappedEntityManager.findAllEntities(AbstractWrappedEntityManager.java:195)
at com.cloudera.cmf.persist.CmfEntityManager.findAllMetrics(CmfEntityManager.java:2755)
at com.cloudera.cmon.components.MetricSchemaManager.retrievePersistedMetrics(MetricSchemaManager.java:280)
at com.cloudera.cmon.components.MetricSchemaManager.access$200(MetricSchemaManager.java:49)
at com.cloudera.cmon.components.MetricSchemaManager$2.run(MetricSchemaManager.java:164)
at com.cloudera.cmon.components.MetricSchemaManager$2.run(MetricSchemaManager.java:161)
at com.cloudera.cmf.persist.ReadWriteDatabaseTaskCallable.call(ReadWriteDatabaseTaskCallable.java:36)
at com.cloudera.cmf.persist.DatabaseExecutor.execTask(DatabaseExecutor.java:101)
at com.cloudera.cmf.persist.DatabaseExecutor.execReadWriteTask(DatabaseExecutor.java:66)
at com.cloudera.cmon.components.MetricSchemaManager.initialize(MetricSchemaManager.java:161)
at com.cloudera.cmon.components.MetricSchemaManager.initialize(MetricSchemaManager.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1623)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1086)
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:396)
at com.cloudera.server.cmf.Main.findBeanFactory(Main.java:484)
at com.cloudera.server.cmf.Main.findRootApplicationContext(Main.java:479)
at com.cloudera.server.cmf.Main.<init>(Main.java:288)
at com.cloudera.server.cmf.Main.main(Main.java:236)
Caused by: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.hibernate.property.access.spi.SetterMethodImpl.set(SetterMethodImpl.java:67)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:611)
at org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:205)
at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:4619)
at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:169)
at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:125)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1146)
at org.hibernate.loader.Loader.processResultSet(Loader.java:1005)
at org.hibernate.loader.Loader.doQuery(Loader.java:943)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:349)
at org.hibernate.loader.Loader.doList(Loader.java:2615)
at org.hibernate.loader.Loader.doList(Loader.java:2598)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2430)
at org.hibernate.loader.Loader.list(Loader.java:2425)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:502)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:371)
at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:216)
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1459)
at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1426)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1398)
... 53 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor994.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.hibernate.property.access.spi.SetterMethodImpl.set(SetterMethodImpl.java:44)
... 72 more
Caused by: com.cloudera.enterprise.JsonUtil2$JsonRuntimeException: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('C' (code 67)): was expecting a colon to separate field name and value
at [Source: (String)"{"aliases":[],"attrs":[],"baseMetric":"csv_75th_pc_request_time","baseSource":"solr_replica","choices":null,"collectionFrequencyMs":60000,"context":["CLUSTER","SERVICE","SOLR_COLLECTION","SOLR_SHARD"],"deprecated":false,"id":48961,"name":"csv_75th_pc_request_time_across_solr_replicas","sections":null,"sourceType":"ENTITY_AGGREGATE_STATS","test_value":0.0,"type":"DOUBLE","units":{"numerator":"ms"},"version_range_metric_source":{"CLUSTER":[{"keys":[{"end":"CDH 7.0.0","endType":"OPEN","start":"CDH "[truncated 1255 chars]; line: 1, column: 1464] (through reference chain: com.cloudera.cmon.MetricInfo["version_range_metric_source"]->java.util.LinkedHashMap["SOLR_SHARD"]->java.util.ArrayList[0]->com.cloudera.enterprise.SerializableMap["keys"]->java.util.ArrayList[0])
at com.cloudera.enterprise.JsonUtil2.valueFromString(JsonUtil2.java:193)
at com.cloudera.cmf.model.DbMetric.setMetricForDb(DbMetric.java:82)
... 76 more
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('C' (code 67)): was expecting a colon to separate field name and value
at [Source: (String)"{"aliases":[],"attrs":[],"baseMetric":"csv_75th_pc_request_time","baseSource":"solr_replica","choices":null,"collectionFrequencyMs":60000,"context":["CLUSTER","SERVICE","SOLR_COLLECTION","SOLR_SHARD"],"deprecated":false,"id":48961,"name":"csv_75th_pc_request_time_across_solr_replicas","sections":null,"sourceType":"ENTITY_AGGREGATE_STATS","test_value":0.0,"type":"DOUBLE","units":{"numerator":"ms"},"version_range_metric_source":{"CLUSTER":[{"keys":[{"end":"CDH 7.0.0","endType":"OPEN","start":"CDH "[truncated 1255 chars]; line: 1, column: 1464] (through reference chain: com.cloudera.cmon.MetricInfo["version_range_metric_source"]->java.util.LinkedHashMap["SOLR_SHARD"]->java.util.ArrayList[0]->com.cloudera.enterprise.SerializableMap["keys"]->java.util.ArrayList[0])
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:394)
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:365)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:302)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.cloudera.enterprise.JsonUtil2$RangeMapDeserializer.deserialize(JsonUtil2.java:345)
at com.cloudera.enterprise.JsonUtil2$RangeMapDeserializer.deserialize(JsonUtil2.java:324)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:527)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4013)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3004)
at com.cloudera.enterprise.JsonUtil2.valueFromString(JsonUtil2.java:189)
... 77 more
Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('C' (code 67)): was expecting a colon to separate field name and value
at [Source: (String)"{"aliases":[],"attrs":[],"baseMetric":"csv_75th_pc_request_time","baseSource":"solr_replica","choices":null,"collectionFrequencyMs":60000,"context":["CLUSTER","SERVICE","SOLR_COLLECTION","SOLR_SHARD"],"deprecated":false,"id":48961,"name":"csv_75th_pc_request_time_across_solr_replicas","sections":null,"sourceType":"ENTITY_AGGREGATE_STATS","test_value":0.0,"type":"DOUBLE","units":{"numerator":"ms"},"version_range_metric_source":{"CLUSTER":[{"keys":[{"end":"CDH 7.0.0","endType":"OPEN","start":"CDH "[truncated 1255 chars]; line: 1, column: 1478]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1804)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:693)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:591)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipColon2(ReaderBasedJsonParser.java:2206)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipColon(ReaderBasedJsonParser.java:2185)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextFieldName(ReaderBasedJsonParser.java:920)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:295)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
... 96 more
2023-05-24 14:17:42,873 WARN main:org.springframework.context.support.ClassPathXmlApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricSchemaManagerBean': Invocation of init method failed; nested exception is java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
2023-05-24 14:17:42,878 WARN main:org.springframework.beans.factory.support.DisposableBeanAdapter: Invocation of destroy method failed on bean with name 'validatorFactoryBean': java.util.NoSuchElementException
2023-05-24 14:17:42,879 ERROR main:com.cloudera.server.cmf.Main: Server failed.
org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [rootContext], from group with resource name [classpath:webapp/WEB-INF/spring/beanRefFactory.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rootContext' defined in class path resource [webapp/WEB-INF/spring/beanRefFactory.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricSchemaManagerBean': Invocation of init method failed; nested exception is java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:404)
at com.cloudera.server.cmf.Main.findBeanFactory(Main.java:484)
at com.cloudera.server.cmf.Main.findRootApplicationContext(Main.java:479)
at com.cloudera.server.cmf.Main.<init>(Main.java:288)
at com.cloudera.server.cmf.Main.main(Main.java:236)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rootContext' defined in class path resource [webapp/WEB-INF/spring/beanRefFactory.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricSchemaManagerBean': Invocation of init method failed; nested exception is java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:279)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1086)
at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:396)
... 4 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricSchemaManagerBean': Invocation of init method failed; nested exception is java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:271)
... 14 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricSchemaManagerBean': Invocation of init method failed; nested exception is java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1623)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
... 16 more
Caused by: java.lang.RuntimeException: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at com.cloudera.cmon.components.MetricSchemaManager.initialize(MetricSchemaManager.java:226)
at com.cloudera.cmon.components.MetricSchemaManager.initialize(MetricSchemaManager.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
... 34 more
Caused by: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:147)
at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:155)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1407)
at org.hibernate.Query.getResultList(Query.java:417)
at com.cloudera.enterprise.AbstractWrappedEntityManager.findAllEntities(AbstractWrappedEntityManager.java:195)
at com.cloudera.cmf.persist.CmfEntityManager.findAllMetrics(CmfEntityManager.java:2755)
at com.cloudera.cmon.components.MetricSchemaManager.retrievePersistedMetrics(MetricSchemaManager.java:280)
at com.cloudera.cmon.components.MetricSchemaManager.access$200(MetricSchemaManager.java:49)
at com.cloudera.cmon.components.MetricSchemaManager$2.run(MetricSchemaManager.java:164)
at com.cloudera.cmon.components.MetricSchemaManager$2.run(MetricSchemaManager.java:161)
at com.cloudera.cmf.persist.ReadWriteDatabaseTaskCallable.call(ReadWriteDatabaseTaskCallable.java:36)
at com.cloudera.cmf.persist.DatabaseExecutor.execTask(DatabaseExecutor.java:101)
at com.cloudera.cmf.persist.DatabaseExecutor.execReadWriteTask(DatabaseExecutor.java:66)
at com.cloudera.cmon.components.MetricSchemaManager.initialize(MetricSchemaManager.java:161)
... 42 more
Caused by: org.hibernate.PropertyAccessException: Exception occurred inside setter of com.cloudera.cmf.model.DbMetric.metricForDb
at org.hibernate.property.access.spi.SetterMethodImpl.set(SetterMethodImpl.java:67)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.setPropertyValues(AbstractEntityTuplizer.java:611)
at org.hibernate.tuple.entity.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:205)
at org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:4619)
at org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:169)
at org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:125)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1146)
at org.hibernate.loader.Loader.processResultSet(Loader.java:1005)
at org.hibernate.loader.Loader.doQuery(Loader.java:943)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:349)
at org.hibernate.loader.Loader.doList(Loader.java:2615)
at org.hibernate.loader.Loader.doList(Loader.java:2598)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2430)
at org.hibernate.loader.Loader.list(Loader.java:2425)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:502)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:371)
at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:216)
at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1459)
at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1426)
at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1398)
... 53 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor994.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.hibernate.property.access.spi.SetterMethodImpl.set(SetterMethodImpl.java:44)
... 72 more
Caused by: com.cloudera.enterprise.JsonUtil2$JsonRuntimeException: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('C' (code 67)): was expecting a colon to separate field name and value
at [Source: (String)"{"aliases":[],"attrs":[],"baseMetric":"csv_75th_pc_request_time","baseSource":"solr_replica","choices":null,"collectionFrequencyMs":60000,"context":["CLUSTER","SERVICE","SOLR_COLLECTION","SOLR_SHARD"],"deprecated":false,"id":48961,"name":"csv_75th_pc_request_time_across_solr_replicas","sections":null,"sourceType":"ENTITY_AGGREGATE_STATS","test_value":0.0,"type":"DOUBLE","units":{"numerator":"ms"},"version_range_metric_source":{"CLUSTER":[{"keys":[{"end":"CDH 7.0.0","endType":"OPEN","start":"CDH "[truncated 1255 chars]; line: 1, column: 1464] (through reference chain: com.cloudera.cmon.MetricInfo["version_range_metric_source"]->java.util.LinkedHashMap["SOLR_SHARD"]->java.util.ArrayList[0]->com.cloudera.enterprise.SerializableMap["keys"]->java.util.ArrayList[0])
at com.cloudera.enterprise.JsonUtil2.valueFromString(JsonUtil2.java:193)
at com.cloudera.cmf.model.DbMetric.setMetricForDb(DbMetric.java:82)
... 76 more
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Unexpected character ('C' (code 67)): was expecting a colon to separate field name and value
at [Source: (String)"{"aliases":[],"attrs":[],"baseMetric":"csv_75th_pc_request_time","baseSource":"solr_replica","choices":null,"collectionFrequencyMs":60000,"context":["CLUSTER","SERVICE","SOLR_COLLECTION","SOLR_SHARD"],"deprecated":false,"id":48961,"name":"csv_75th_pc_request_time_across_solr_replicas","sections":null,"sourceType":"ENTITY_AGGREGATE_STATS","test_value":0.0,"type":"DOUBLE","units":{"numerator":"ms"},"version_range_metric_source":{"CLUSTER":[{"keys":[{"end":"CDH 7.0.0","endType":"OPEN","start":"CDH "[truncated 1255 chars]; line: 1, column: 1464] (through reference chain: com.cloudera.cmon.MetricInfo["version_range_metric_source"]->java.util.LinkedHashMap["SOLR_SHARD"]->java.util.ArrayList[0]->com.cloudera.enterprise.SerializableMap["keys"]->java.util.ArrayList[0])
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:394)
at com.fasterxml.jackson.databind.JsonMappingException.wrapWithPath(JsonMappingException.java:365)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:302)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.cloudera.enterprise.JsonUtil2$RangeMapDeserializer.deserialize(JsonUtil2.java:345)
at com.cloudera.enterprise.JsonUtil2$RangeMapDeserializer.deserialize(JsonUtil2.java:324)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer._readAndBindStringKeyMap(MapDeserializer.java:527)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:364)
at com.fasterxml.jackson.databind.deser.std.MapDeserializer.deserialize(MapDeserializer.java:29)
at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:127)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:288)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4013)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3004)
at com.cloudera.enterprise.JsonUtil2.valueFromString(JsonUtil2.java:189)
... 77 more
Caused by: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('C' (code 67)): was expecting a colon to separate field name and value
at [Source: (String)"{"aliases":[],"attrs":[],"baseMetric":"csv_75th_pc_request_time","baseSource":"solr_replica","choices":null,"collectionFrequencyMs":60000,"context":["CLUSTER","SERVICE","SOLR_COLLECTION","SOLR_SHARD"],"deprecated":false,"id":48961,"name":"csv_75th_pc_request_time_across_solr_replicas","sections":null,"sourceType":"ENTITY_AGGREGATE_STATS","test_value":0.0,"type":"DOUBLE","units":{"numerator":"ms"},"version_range_metric_source":{"CLUSTER":[{"keys":[{"end":"CDH 7.0.0","endType":"OPEN","start":"CDH "[truncated 1255 chars]; line: 1, column: 1478]
at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1804)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:693)
at com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:591)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipColon2(ReaderBasedJsonParser.java:2206)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser._skipColon(ReaderBasedJsonParser.java:2185)
at com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextFieldName(ReaderBasedJsonParser.java:920)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:295)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151)
at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:286)
... 96 more
尝试关闭 cloudere-scm-server:systemctl stop cloudera-scm-server
2023-05-24 16:09:10,441 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#0:com.mchange.v2.resourcepool.BasicResourcePool: Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@ae372b9 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2023-05-24 16:09:10,443 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#1:com.mchange.v2.resourcepool.BasicResourcePool: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@3f3e4686 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (5). Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'scm'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
2023-05-24 16:09:10,443 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#1:com.mchange.v2.resourcepool.BasicResourcePool: Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@ae372b9 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2023-05-24 16:09:10,443 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#2:com.mchange.v2.resourcepool.BasicResourcePool: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@1f238c07 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (5). Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'scm'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
2023-05-24 16:09:10,444 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#2:com.mchange.v2.resourcepool.BasicResourcePool: Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@ae372b9 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2023-05-24 16:09:10,860 INFO main:com.cloudera.enterprise.CommonMain: Statistics not enabled, JMX will not be registered
2023-05-24 16:09:15,931 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#2:com.mchange.v2.resourcepool.BasicResourcePool: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@2ea0a74 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (5). Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'scm'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
2023-05-24 16:09:15,931 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#0:com.mchange.v2.resourcepool.BasicResourcePool: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@7a18e82d -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (5). Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'scm'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
2023-05-24 16:09:15,931 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#2:com.mchange.v2.resourcepool.BasicResourcePool: Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@ae372b9 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2023-05-24 16:09:15,933 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#1:com.mchange.v2.resourcepool.BasicResourcePool: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@7232d184 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (5). Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'scm'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
2023-05-24 16:09:15,933 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#0:com.mchange.v2.resourcepool.BasicResourcePool: Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@ae372b9 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2023-05-24 16:09:15,933 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#1:com.mchange.v2.resourcepool.BasicResourcePool: Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@ae372b9 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2023-05-24 16:09:15,937 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#0:com.mchange.v2.resourcepool.BasicResourcePool: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@5bf9f8dc -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (5). Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'scm'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
2023-05-24 16:09:15,937 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#0:com.mchange.v2.resourcepool.BasicResourcePool: Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@ae372b9 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2023-05-24 16:09:15,937 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#1:com.mchange.v2.resourcepool.BasicResourcePool: com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@33c3e0dc -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (5). Last acquisition attempt exception:
java.sql.SQLException: Access denied for user 'scm'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1078)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1750)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2526)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2311)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.GeneratedConstructorAccessor34.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:347)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:146)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:195)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:184)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:200)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1086)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1073)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:44)
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:648)
2023-05-24 16:09:15,939 WARN C3P0PooledConnectionPoolManager[identityToken->1hge2lwawlb66x4sofq54|5f13be1]-HelperThread-#1:com.mchange.v2.resourcepool.BasicResourcePool: Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@ae372b9 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.
2023-05-24 16:09:15,946 WARN main:org.springframework.context.support.GenericApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.cloudera.server.cmf.TrialState': Cannot resolve reference to bean 'entityManagerFactoryBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryBean': FactoryBean threw exception on object creation; nested exception is org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
2023-05-24 16:09:15,946 ERROR main:com.cloudera.server.cmf.Main: Server failed.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.cloudera.server.cmf.TrialState': Cannot resolve reference to bean 'entityManagerFactoryBean' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryBean': FactoryBean threw exception on object creation; nested exception is org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:634)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1198)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at com.cloudera.server.cmf.Main.bootstrapSpringContext(Main.java:421)
at com.cloudera.server.cmf.Main.<init>(Main.java:263)
at com.cloudera.server.cmf.Main.main(Main.java:236)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryBean': FactoryBean threw exception on object creation; nested exception is org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:185)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1640)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:254)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 17 more
Caused by: org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:47)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:102)
at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getPhysicalConnection(LogicalConnectionManagedImpl.java:129)
at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.getConnectionForTransactionManagement(LogicalConnectionManagedImpl.java:247)
at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.begin(LogicalConnectionManagedImpl.java:254)
at org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl$TransactionDriverControlImpl.begin(JdbcResourceLocalTransactionCoordinatorImpl.java:203)
at org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:56)
at com.cloudera.enterprise.AbstractWrappedEntityManager.beginForRollbackAndReadonly(AbstractWrappedEntityManager.java:89)
at com.cloudera.enterprise.dbutil.DbUtil.isInnoDbEnabled(DbUtil.java:558)
at com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean.checkMysqlTableEngineType(EntityManagerFactoryBean.java:187)
at com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean.getObject(EntityManagerFactoryBean.java:166)
at com.cloudera.server.cmf.bootstrap.EntityManagerFactoryBean.getObject(EntityManagerFactoryBean.java:75)
at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:178)
... 22 more
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:689)
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)
at org.hibernate.c3p0.internal.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:73)
at org.hibernate.internal.NonContextualJdbcConnectionAccess.obtainConnection(NonContextualJdbcConnectionAccess.java:35)
at org.hibernate.resource.jdbc.internal.LogicalConnectionManagedImpl.acquireConnectionIfNeeded(LogicalConnectionManagedImpl.java:99)
... 33 more
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1418)
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:606)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:526)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:755)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:682)
... 37 more
重新启动服务:systemctl start cloudera-scm-server
java.lang.RuntimeException: java.lang.RuntimeException: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config of 'mapreduce.application.framework.path'
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1101)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfiguration(AbstractRoleHandler.java:987)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfiguration(AbstractRoleHandler.java:973)
at com.cloudera.cmf.service.hive.BaseHiveRoleHandler.makeProcess(BaseHiveRoleHandler.java:93)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand$1.apply(GlobalPoolsRefreshCommand.java:104)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand$1.apply(GlobalPoolsRefreshCommand.java:83)
at com.cloudera.cmf.cluster.PoolsRefreshCmdWorkCreator.constructRoleRefreshes(PoolsRefreshCmdWorkCreator.java:80)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand.constructWork(GlobalPoolsRefreshCommand.java:124)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand.constructWork(GlobalPoolsRefreshCommand.java:76)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand.constructWork(GlobalPoolsRefreshCommand.java:35)
at com.cloudera.cmf.command.CmdWorkCommand.execute(CmdWorkCommand.java:60)
at com.cloudera.cmf.service.ServiceHandlerRegistry.executeGlobalCommandHelper(ServiceHandlerRegistry.java:846)
at com.cloudera.cmf.service.ServiceHandlerRegistry.executeGlobalCommand(ServiceHandlerRegistry.java:814)
at com.cloudera.server.cmf.components.OperationsManagerImpl$4.get(OperationsManagerImpl.java:1824)
at com.cloudera.server.cmf.components.OperationsManagerImpl$4.get(OperationsManagerImpl.java:1821)
at com.cloudera.server.web.cmf.AuthScopeContext.privilegedMode(AuthScopeContext.java:197)
at com.cloudera.server.cmf.components.OperationsManagerImpl.executeCmd(OperationsManagerImpl.java:3050)
at com.cloudera.server.cmf.components.OperationsManagerImpl.executeGlobalCmd(OperationsManagerImpl.java:1821)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.dispatchCommand(CommandDispatcherJob.java:248)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.executeCommand(CommandDispatcherJob.java:191)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.access$500(CommandDispatcherJob.java:61)
at com.cloudera.cmf.scheduler.CommandDispatcherJob$1.call(CommandDispatcherJob.java:168)
at com.cloudera.cmf.scheduler.CommandDispatcherJob$1.call(CommandDispatcherJob.java:165)
at com.cloudera.server.common.RetryWrapper.executeWithRetry(RetryWrapper.java:32)
at com.cloudera.server.common.RetryUtils.executeWithRetryHelper(RetryUtils.java:210)
at com.cloudera.server.common.RetryUtils.executeWithRetryConstantSleep(RetryUtils.java:73)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.execute(CommandDispatcherJob.java:162)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.lang.RuntimeException: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config of 'mapreduce.application.framework.path'
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1101)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1050)
at com.cloudera.cmf.service.AbstractClientConfigHandler.buildClientConfigFiles(AbstractClientConfigHandler.java:132)
at com.cloudera.cmf.service.components.ConfigHelper.getClientConfigs(ConfigHelper.java:151)
at com.cloudera.cmf.service.AbstractRoleHandler.generateClientConfigsForDependencies(AbstractRoleHandler.java:1187)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1079)
... 28 more
Caused by: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config of 'mapreduce.application.framework.path'
at com.cloudera.cmf.service.config.CombinedEvaluator.evaluateConfig(CombinedEvaluator.java:202)
at com.cloudera.cmf.service.config.AbstractGenericConfigEvaluator.evaluateConfig(AbstractGenericConfigEvaluator.java:45)
at com.cloudera.cmf.service.config.ConditionalEvaluator.evaluateConfig(ConditionalEvaluator.java:758)
at com.cloudera.cmf.service.config.AbstractGenericConfigEvaluator.evaluateConfig(AbstractGenericConfigEvaluator.java:45)
at com.cloudera.cmf.service.config.AbstractConfigFileGenerator.generate(AbstractConfigFileGenerator.java:85)
at com.cloudera.cmf.service.config.XMLConfigFileGenerator.generateConfigFileImpl(XMLConfigFileGenerator.java:148)
at com.cloudera.cmf.service.config.AbstractConfigFileGenerator.generateConfigFile(AbstractConfigFileGenerator.java:136)
at com.cloudera.cmf.service.HandlerUtil.generateConfigFiles(HandlerUtil.java:199)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1075)
... 33 more
2023-05-24 16:30:40,702 INFO com.cloudera.cmf.scheduler-1_Worker-1:com.cloudera.cmf.service.ServiceHandlerRegistry: Executing command GlobalPoolsRefresh BasicCmdArgs{scheduleId=1, scheduledTime=2023-05-24T07:00:00.000Z}.
2023-05-24 16:30:40,710 INFO WebServerImpl:org.springframework.web.context.support.XmlWebApplicationContext: Refreshing Root WebApplicationContext: startup date [Wed May 24 16:30:40 CST 2023]; parent: Root WebApplicationContext
2023-05-24 16:30:40,710 INFO WebServerImpl:org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
2023-05-24 16:30:40,718 INFO WebServerImpl:org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from URL [file:/opt/cloudera/cm/webapp/WEB-INF/spring/cmf-api-config.xml]
2023-05-24 16:30:40,731 INFO WebServerImpl:org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
2023-05-24 16:30:40,737 INFO WebServerImpl:org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [META-INF/cxf/cxf-servlet.xml]
2023-05-24 16:30:40,826 ERROR com.cloudera.cmf.scheduler-1_Worker-1:com.cloudera.cmf.scheduler.CommandDispatcherJob: Failed to invoke command (GlobalPoolsRefresh) for schedule (1)
java.lang.RuntimeException: java.lang.RuntimeException: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config of 'mapreduce.application.framework.path'
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1101)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfiguration(AbstractRoleHandler.java:987)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfiguration(AbstractRoleHandler.java:973)
at com.cloudera.cmf.service.hive.BaseHiveRoleHandler.makeProcess(BaseHiveRoleHandler.java:93)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand$1.apply(GlobalPoolsRefreshCommand.java:104)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand$1.apply(GlobalPoolsRefreshCommand.java:83)
at com.cloudera.cmf.cluster.PoolsRefreshCmdWorkCreator.constructRoleRefreshes(PoolsRefreshCmdWorkCreator.java:80)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand.constructWork(GlobalPoolsRefreshCommand.java:124)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand.constructWork(GlobalPoolsRefreshCommand.java:76)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand.constructWork(GlobalPoolsRefreshCommand.java:35)
at com.cloudera.cmf.command.CmdWorkCommand.execute(CmdWorkCommand.java:60)
at com.cloudera.cmf.service.ServiceHandlerRegistry.executeGlobalCommandHelper(ServiceHandlerRegistry.java:846)
at com.cloudera.cmf.service.ServiceHandlerRegistry.executeGlobalCommand(ServiceHandlerRegistry.java:814)
at com.cloudera.server.cmf.components.OperationsManagerImpl$4.get(OperationsManagerImpl.java:1824)
at com.cloudera.server.cmf.components.OperationsManagerImpl$4.get(OperationsManagerImpl.java:1821)
at com.cloudera.server.web.cmf.AuthScopeContext.privilegedMode(AuthScopeContext.java:197)
at com.cloudera.server.cmf.components.OperationsManagerImpl.executeCmd(OperationsManagerImpl.java:3050)
at com.cloudera.server.cmf.components.OperationsManagerImpl.executeGlobalCmd(OperationsManagerImpl.java:1821)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.dispatchCommand(CommandDispatcherJob.java:248)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.executeCommand(CommandDispatcherJob.java:191)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.access$500(CommandDispatcherJob.java:61)
at com.cloudera.cmf.scheduler.CommandDispatcherJob$1.call(CommandDispatcherJob.java:168)
at com.cloudera.cmf.scheduler.CommandDispatcherJob$1.call(CommandDispatcherJob.java:165)
at com.cloudera.server.common.RetryWrapper.executeWithRetry(RetryWrapper.java:32)
at com.cloudera.server.common.RetryUtils.executeWithRetryHelper(RetryUtils.java:210)
at com.cloudera.server.common.RetryUtils.executeWithRetryConstantSleep(RetryUtils.java:73)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.execute(CommandDispatcherJob.java:162)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.lang.RuntimeException: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config of 'mapreduce.application.framework.path'
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1101)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1050)
at com.cloudera.cmf.service.AbstractClientConfigHandler.buildClientConfigFiles(AbstractClientConfigHandler.java:132)
at com.cloudera.cmf.service.components.ConfigHelper.getClientConfigs(ConfigHelper.java:151)
at com.cloudera.cmf.service.AbstractRoleHandler.generateClientConfigsForDependencies(AbstractRoleHandler.java:1187)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1079)
... 28 more
Caused by: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config of 'mapreduce.application.framework.path'
at com.cloudera.cmf.service.config.CombinedEvaluator.evaluateConfig(CombinedEvaluator.java:202)
at com.cloudera.cmf.service.config.AbstractGenericConfigEvaluator.evaluateConfig(AbstractGenericConfigEvaluator.java:45)
at com.cloudera.cmf.service.config.ConditionalEvaluator.evaluateConfig(ConditionalEvaluator.java:758)
at com.cloudera.cmf.service.config.AbstractGenericConfigEvaluator.evaluateConfig(AbstractGenericConfigEvaluator.java:45)
at com.cloudera.cmf.service.config.AbstractConfigFileGenerator.generate(AbstractConfigFileGenerator.java:85)
at com.cloudera.cmf.service.config.XMLConfigFileGenerator.generateConfigFileImpl(XMLConfigFileGenerator.java:148)
at com.cloudera.cmf.service.config.AbstractConfigFileGenerator.generateConfigFile(AbstractConfigFileGenerator.java:136)
at com.cloudera.cmf.service.HandlerUtil.generateConfigFiles(HandlerUtil.java:199)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1075)
... 33 more
2023-05-24 16:30:40,832 INFO WebServerImpl:org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2023-05-24 16:30:40,832 INFO com.cloudera.cmf.scheduler-1_Worker-1:com.cloudera.cmf.service.ServiceHandlerRegistry: Executing command GlobalPoolsRefresh BasicCmdArgs{scheduleId=1, scheduledTime=2023-05-24T08:00:00.000Z}.
2023-05-24 16:30:40,968 ERROR com.cloudera.cmf.scheduler-1_Worker-1:com.cloudera.cmf.scheduler.CommandDispatcherJob: Failed to invoke command (GlobalPoolsRefresh) for schedule (1)
java.lang.RuntimeException: java.lang.RuntimeException: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config of 'mapreduce.application.framework.path'
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1101)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfiguration(AbstractRoleHandler.java:987)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfiguration(AbstractRoleHandler.java:973)
at com.cloudera.cmf.service.hive.BaseHiveRoleHandler.makeProcess(BaseHiveRoleHandler.java:93)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand$1.apply(GlobalPoolsRefreshCommand.java:104)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand$1.apply(GlobalPoolsRefreshCommand.java:83)
at com.cloudera.cmf.cluster.PoolsRefreshCmdWorkCreator.constructRoleRefreshes(PoolsRefreshCmdWorkCreator.java:80)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand.constructWork(GlobalPoolsRefreshCommand.java:124)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand.constructWork(GlobalPoolsRefreshCommand.java:76)
at com.cloudera.cmf.command.GlobalPoolsRefreshCommand.constructWork(GlobalPoolsRefreshCommand.java:35)
at com.cloudera.cmf.command.CmdWorkCommand.execute(CmdWorkCommand.java:60)
at com.cloudera.cmf.service.ServiceHandlerRegistry.executeGlobalCommandHelper(ServiceHandlerRegistry.java:846)
at com.cloudera.cmf.service.ServiceHandlerRegistry.executeGlobalCommand(ServiceHandlerRegistry.java:814)
at com.cloudera.server.cmf.components.OperationsManagerImpl$4.get(OperationsManagerImpl.java:1824)
at com.cloudera.server.cmf.components.OperationsManagerImpl$4.get(OperationsManagerImpl.java:1821)
at com.cloudera.server.web.cmf.AuthScopeContext.privilegedMode(AuthScopeContext.java:197)
at com.cloudera.server.cmf.components.OperationsManagerImpl.executeCmd(OperationsManagerImpl.java:3050)
at com.cloudera.server.cmf.components.OperationsManagerImpl.executeGlobalCmd(OperationsManagerImpl.java:1821)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.dispatchCommand(CommandDispatcherJob.java:248)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.executeCommand(CommandDispatcherJob.java:191)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.access$500(CommandDispatcherJob.java:61)
at com.cloudera.cmf.scheduler.CommandDispatcherJob$1.call(CommandDispatcherJob.java:168)
at com.cloudera.cmf.scheduler.CommandDispatcherJob$1.call(CommandDispatcherJob.java:165)
at com.cloudera.server.common.RetryWrapper.executeWithRetry(RetryWrapper.java:32)
at com.cloudera.server.common.RetryUtils.executeWithRetryHelper(RetryUtils.java:210)
at com.cloudera.server.common.RetryUtils.executeWithRetryConstantSleep(RetryUtils.java:73)
at com.cloudera.cmf.scheduler.CommandDispatcherJob.execute(CommandDispatcherJob.java:162)
at org.quartz.core.JobRunShell.run(JobRunShell.java:206)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:548)
Caused by: java.lang.RuntimeException: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config of 'mapreduce.application.framework.path'
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1101)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1050)
at com.cloudera.cmf.service.AbstractClientConfigHandler.buildClientConfigFiles(AbstractClientConfigHandler.java:132)
at com.cloudera.cmf.service.components.ConfigHelper.getClientConfigs(ConfigHelper.java:151)
at com.cloudera.cmf.service.AbstractRoleHandler.generateClientConfigsForDependencies(AbstractRoleHandler.java:1187)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1079)
... 28 more
Caused by: com.cloudera.cmf.service.config.ConfigGenException: Unable to generate config of 'mapreduce.application.framework.path'
at com.cloudera.cmf.service.config.CombinedEvaluator.evaluateConfig(CombinedEvaluator.java:202)
at com.cloudera.cmf.service.config.AbstractGenericConfigEvaluator.evaluateConfig(AbstractGenericConfigEvaluator.java:45)
at com.cloudera.cmf.service.config.ConditionalEvaluator.evaluateConfig(ConditionalEvaluator.java:758)
at com.cloudera.cmf.service.config.AbstractGenericConfigEvaluator.evaluateConfig(AbstractGenericConfigEvaluator.java:45)
at com.cloudera.cmf.service.config.AbstractConfigFileGenerator.generate(AbstractConfigFileGenerator.java:85)
at com.cloudera.cmf.service.config.XMLConfigFileGenerator.generateConfigFileImpl(XMLConfigFileGenerator.java:148)
at com.cloudera.cmf.service.config.AbstractConfigFileGenerator.generateConfigFile(AbstractConfigFileGenerator.java:136)
at com.cloudera.cmf.service.HandlerUtil.generateConfigFiles(HandlerUtil.java:199)
at com.cloudera.cmf.service.AbstractRoleHandler.generateConfigFiles(AbstractRoleHandler.java:1075)
... 33 more
2023-05-24 16:30:41,070 INFO WebServerImpl:org.apache.cxf.transport.local.LocalTransportFactory: Creating destination for address local://api
2023-05-24 16:30:41,071 INFO WebServerImpl:org.apache.cxf.endpoint.ServerImpl: Setting the server's publish address to be local://api
2023-05-24 16:30:41,102 INFO WebServerImpl:org.apache.cxf.endpoint.ServerImpl: Setting the server's publish address to be /
2023-05-24 16:30:41,133 INFO WebServerImpl:org.eclipse.jetty.server.handler.ContextHandler.ROOT: Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet'
2023-05-24 16:30:41,133 INFO WebServerImpl:org.springframework.web.servlet.DispatcherServlet: FrameworkServlet 'Spring MVC Dispatcher Servlet': initialization started
2023-05-24 16:30:41,134 INFO WebServerImpl:org.springframework.web.context.support.XmlWebApplicationContext: Refreshing WebApplicationContext for namespace 'Spring MVC Dispatcher Servlet-servlet': startup date [Wed May 24 16:30:41 CST 2023]; parent: Root WebApplicationContext
2023-05-24 16:30:41,135 INFO WebServerImpl:org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/cmf-config.xml]
2023-05-24 16:30:41,246 INFO WebServerImpl:org.springframework.security.config.SecurityNamespaceHandler: Spring Security 'config' module version is 4.1.5.RELEASE
2023-05-24 16:30:41,249 INFO WebServerImpl:org.springframework.security.config.method.GlobalMethodSecurityBeanDefinitionParser: Using bean 'methodSecurityExpressionHandler' as method ExpressionHandler implementation
2023-05-24 16:30:41,258 INFO WebServerImpl:org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from ServletContext resource [/WEB-INF/spring/mvc-config.xml]
2023-05-24 16:30:41,507 INFO WebServerImpl:org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2023-05-24 16:30:41,728 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.reports.components.UtilizationReportsHelper.processOverviewResponse(com.cloudera.cmon.firehose.nozzle.TimeSeriesQueryResponse,com.cloudera.server.web.reports.UtilizationReport)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,728 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.reports.components.UtilizationReportsHelper.processYarnResponse(com.cloudera.cmon.firehose.nozzle.TimeSeriesQueryResponse,com.cloudera.server.web.reports.UtilizationReport,java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,728 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.reports.components.UtilizationReportsHelper.processImpalaResponse(com.cloudera.cmon.firehose.nozzle.TimeSeriesQueryResponse,com.cloudera.server.web.reports.UtilizationReport,java.lang.String,java.lang.String,java.lang.String,com.cloudera.server.cmf.tsquery.TimeSeriesQueryService,com.cloudera.server.cmf.CurrentUserManager)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,728 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.reports.components.UtilizationReportsHelper.handleImpalaReservedAndUtilizedStreams(com.cloudera.server.web.reports.UtilizationReportBase,com.cloudera.server.web.common.charts.include.TimeSeriesResponse$TimeSeries,com.cloudera.server.web.common.charts.include.TimeSeriesResponse$TimeSeries,java.lang.String,java.lang.String,boolean,java.lang.String,com.cloudera.server.web.common.charts.include.TimeSeriesResponse$TimeSeries,long,com.cloudera.server.cmf.tsquery.TimeSeriesQueryService,com.cloudera.server.cmf.CurrentUserManager)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,728 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.server.web.common.charts.include.TimeSeriesResponse$TimeSeries com.cloudera.server.web.reports.components.UtilizationReportsHelper.transformStream(com.cloudera.cmon.firehose.nozzle.TimeSeriesStream)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,728 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.reports.components.UtilizationReportsHelper.preProcessResponse(com.cloudera.cmon.firehose.nozzle.TimeSeriesQueryResponse,com.cloudera.reports.UtilizationReportConfig$UtilizationReportTenantType,java.util.Map,java.util.Map,java.util.TreeSet)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,743 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [boolean com.cloudera.server.web.cmf.triggers.components.TriggersDao.setEnabledTrigger(java.util.List,java.lang.String,boolean)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,744 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [boolean com.cloudera.server.web.cmf.triggers.components.TriggersDao.setSuppressedTrigger(java.util.List,java.lang.String,boolean)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,835 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.cmf.service.GenericServiceCdhClient com.cloudera.server.web.cmf.impala.components.ImpalaDao.createImpalaClient(com.cloudera.cmf.service.ServiceDataProvider,com.cloudera.cmf.model.DbService)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,835 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.server.web.cmf.impala.components.ImpalaDao$CancelQueryTask com.cloudera.server.web.cmf.impala.components.ImpalaDao.createTask(java.lang.String,java.lang.String,int,boolean,boolean,com.cloudera.cmf.security.components.SslHelper,java.lang.String,java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,930 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [boolean com.cloudera.server.web.cmf.search.components.SearchRepositoryManager.initializeState()] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,930 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.List com.cloudera.server.web.cmf.search.components.SearchRepositoryManager.createDocuments(java.util.Locale) throws java.io.IOException] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:41,935 INFO WebServerImpl:com.cloudera.server.web.kaiser.components.HealthAdviceManager: Registering 19 CSD based health test advice.
2023-05-24 16:30:42,009 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.server.web.cmon.AttemptSummaryModel com.cloudera.server.web.cmon.AttemptController.getAttemptModel(java.lang.String,java.lang.String) throws java.io.IOException,com.cloudera.cmon.MgmtServiceLocatorException] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,009 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.Map com.cloudera.server.web.cmon.AttemptController.getAttemptLogs(com.cloudera.server.web.cmon.AttemptSummaryModel) throws java.io.IOException] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,087 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [org.jamon.Renderer com.cloudera.server.web.common.LoginController.getRendererForLogin(javax.servlet.http.HttpSession,java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,105 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.server.web.reports.UtilizationReport com.cloudera.server.web.reports.UtilizationReportsController.getOverviewData(long,com.cloudera.reports.UtilizationReportConfig,com.cloudera.reports.TimeRange,boolean) throws java.io.IOException] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,105 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.reports.UtilizationReportConfig com.cloudera.server.web.reports.UtilizationReportsController.getSelectedConfig(java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,105 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [boolean com.cloudera.server.web.reports.UtilizationReportsController.hasService(com.cloudera.cmf.persist.CmfEntityManager,com.cloudera.cmf.model.DbCluster,java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,334 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.server.web.kaiser.HealthAdvice com.cloudera.server.web.cmf.HealthCheckController.getAdviceForAlarm(java.lang.String,java.lang.String,com.cloudera.cmon.kaiser.SubjectType)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,402 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.cmf.HostTemplateController.initializeForTesting(com.cloudera.server.cmf.hosttemplate.HostTemplateManager,javax.persistence.EntityManagerFactory,com.cloudera.cmf.service.ServiceDataProvider,com.cloudera.server.cmf.clientprotocol.ClientProtocol)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,463 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.List com.cloudera.server.web.cmf.wizard.security.KerberosWizardController.getUppercaseHosts(com.cloudera.cmf.model.DbCluster)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,463 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.List com.cloudera.server.web.cmf.wizard.security.KerberosWizardController.getBasicConfigs(com.cloudera.cmf.persist.CmfEntityManager)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,463 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.List com.cloudera.server.web.cmf.wizard.security.KerberosWizardController.getAdvConfigs(com.cloudera.cmf.persist.CmfEntityManager)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,463 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.List com.cloudera.server.web.cmf.wizard.security.KerberosWizardController.getPrincipalConfigs(com.cloudera.cmf.persist.CmfEntityManager)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,484 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.List com.cloudera.server.web.cmf.wizard.express.ExpressAddServicesWizardController.getOrderedServiceTypes(com.cloudera.cmf.model.DbCluster)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,671 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.parcel.ProductVersion com.cloudera.server.web.cmf.wizard.cluster.ClusterUpgradeController.createPV(java.lang.String,java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,695 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.api.model.ApiDeployment com.cloudera.server.web.cmf.rman.ResourceManagementController.calculateAllocation(com.cloudera.cmf.persist.CmfEntityManager,com.cloudera.cmf.model.DbCluster,java.util.List)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,696 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.cmf.rman.ResourceManagementController.insertIntoSession(com.cloudera.cmf.rules.RulesEngine$RulesSession,com.cloudera.cmf.model.DbService)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,854 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.lang.String com.cloudera.server.web.cmf.csd.CsdResourcesController.generateCss(com.cloudera.csd.CsdBundle)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,855 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.lang.String com.cloudera.server.web.cmf.csd.CsdResourcesController.calculateChecksum(byte[])] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,866 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.Collection com.cloudera.server.web.cmf.csd.CsdController.findServicesByType(java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,881 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.cmf.maintenanceMode.MaintenanceModeController.changeMaintenanceModeInBulk(java.util.List,java.util.List,java.util.List,java.util.List,boolean)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,900 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [int com.cloudera.server.web.cmf.ParcelController.getAvailableConnections()] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,900 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.cmf.ParcelController.updateConnectionLimit(int,int)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,900 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.server.web.cmf.ParcelController$FileInfo com.cloudera.server.web.cmf.ParcelController.getParcelInfo(java.lang.String) throws com.cloudera.parcel.ParcelException] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,968 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.cmf.staleness.StalenessController.addUndeployedClientConfigs(com.cloudera.cmf.service.ServiceHandlerRegistry,com.cloudera.cmf.service.ClientConfigHandler,com.cloudera.cmf.model.DbService,com.cloudera.cmf.service.config.GlobalStalenessInfo$Builder)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:42,980 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.cmf.EventControllerBase.setServiceLocator(com.cloudera.cmon.MgmtServiceLocator)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,015 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.cmf.EventControllerBase.setServiceLocator(com.cloudera.cmon.MgmtServiceLocator)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,081 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [void com.cloudera.server.web.cmf.parcel.ParcelActivationController.checkAdminAuth(com.cloudera.cmf.model.DbCluster)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,114 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.lang.String com.cloudera.server.web.cmf.view.ViewsController.importViewFile(java.lang.String,org.springframework.web.multipart.MultipartFile)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,114 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.server.web.cmf.view.View com.cloudera.server.web.cmf.view.ViewsController.getView(java.lang.String)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,144 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.List com.cloudera.server.web.cmf.commands.CommandController.getCommandProgress(com.cloudera.cmf.persist.CmfEntityManager,com.cloudera.cmf.model.DbCommand,com.cloudera.cmf.service.ServiceHandlerRegistry)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,160 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [java.util.List com.cloudera.server.web.cmf.commands.CommandListController.getRecentlyCompletedCommands(com.cloudera.cmf.persist.CmfEntityManager,long,long,int,int)] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,162 WARN ActionablesProvider-0:com.cloudera.cmf.service.config.PortNumberParamSpec: Host hadoop102 missing heartbeat/ephemeral port info, skipping check
2023-05-24 16:30:43,169 WARN ActionablesProvider-0:com.cloudera.cmf.service.config.PortNumberParamSpec: Host hadoop102 missing heartbeat/ephemeral port info, skipping check
2023-05-24 16:30:43,207 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.cmf.model.DbHost com.cloudera.server.web.cmf.SubjectRedirectController.findHostByHostId(java.lang.String) throws java.lang.Exception] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,207 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.cmf.model.DbHost com.cloudera.server.web.cmf.SubjectRedirectController.findHostByHostName(java.lang.String) throws java.lang.Exception] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,207 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.cmf.model.DbService com.cloudera.server.web.cmf.SubjectRedirectController.findService(java.lang.String) throws java.lang.Exception] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,207 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.cmf.model.DbRole com.cloudera.server.web.cmf.SubjectRedirectController.findRole(java.lang.String) throws java.lang.Exception] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
2023-05-24 16:30:43,207 INFO WebServerImpl:org.springframework.aop.framework.CglibAopProxy: Method [com.cloudera.cmf.model.DbCluster com.cloudera.server.web.cmf.SubjectRedirectController.findCluster(java.lang.String) throws java.lang.Exception] is package-visible across different ClassLoaders and cannot get proxied via CGLIB: Declare this method as public or protected if you need to support invocations through the proxy.
可以看到,重启过程中 mysql 连接是失败的,说明数据库更新后肯定做了配置修改,查看 cm 配置的数据库信息:
cat /etc/cloudera-scm-server/db.properties
发现数据库 scm 的密码和原来已经不一样,更新数据库人员更新之后修改了 root 用户数据库密码,但是没有修改 scm 用户密码,db.procerties 却填了修改后的 root 用户密码,导致数据库连接异常。