Reply
Explorer
Posts: 7
Registered: ‎07-10-2017

Error while executing CmfEntityManager task

Hi, 

 

We upgraded our CM from 5.6.0 to 5.12.0 but failed. The detailed logs are shown below. The exception is "Found 19 metrics with the same metric id". Thus, we logged into the embedded postgreSQL database and checked the scm/metrics table. However, each of the 19 metrics has its own different ID. It seems a bit weired.

 

Could any one give us some help?

 

2017-08-03 21:29:49,465 INFO main:com.cloudera.cmon.components.MetricSchemaUpdate: persisting 1822 new metrics
2017-08-03 21:29:50,032 INFO main:com.cloudera.cmon.components.MetricSchemaUpdate: persisting 22 updated metrics
2017-08-03 21:29:51,808 INFO main:com.cloudera.cmon.components.MetricSchemaManager: Cross entity aggregates processed.
2017-08-03 21:29:51,821 WARN main:com.cloudera.cmf.persist.ReadWriteDatabaseTaskCallable: Error while executing CmfEntityManager task
java.lang.IllegalStateException: Found 19 metrics with the same metric id: mem_virtual_agent_max, mem_virtual_agent_sum, mem_virtual_agent_avg, mem_virtual_agent_std_dev, rpc_queue_time_avg_time_nodemanager_max, allocated_containers_nodemanager_min, allocated_containers_nodemanager_std_dev, jvm_heap_committed_mb_nodemanager_min, allocated_containers_nodemanager_max, containers_running_nodemanager_min, allocated_containers_nodemanager_avg, allocated_containers_nodemanager_sum, metrics_snapshot_num_ops_nodemanager_max_rate, metrics_snapshot_num_ops_nodemanager_sum, rpc_queue_time_num_ops_nodemanager_min_rate, rpc_queue_time_num_ops_nodemanager_std_dev_rate, rpc_queue_time_num_ops_nodemanager_avg_rate, rpc_queue_time_num_ops_nodemanager_max_rate, rpc_queue_time_num_ops_nodemanager_sum, .
	at com.cloudera.cmon.components.MetricSchemaManager.createCompleteSchema(MetricSchemaManager.java:356)
	at com.cloudera.cmon.components.MetricSchemaManager.access$900(MetricSchemaManager.java:49)
	at com.cloudera.cmon.components.MetricSchemaManager$2.run(MetricSchemaManager.java:219)
	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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	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:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:108)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079)
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
	at com.cloudera.server.cmf.Main.findBeanFactory(Main.java:455)
	at com.cloudera.server.cmf.Main.findRootApplicationContext(Main.java:450)
	at com.cloudera.server.cmf.Main.<init>(Main.java:266)
	at com.cloudera.server.cmf.Main.main(Main.java:216)
2017-08-03 21:29:51,849 WARN main:com.cloudera.cmon.components.MetricSchemaManager: Error initializing the metric schema
java.lang.IllegalStateException: Found 19 metrics with the same metric id: mem_virtual_agent_max, mem_virtual_agent_sum, mem_virtual_agent_avg, mem_virtual_agent_std_dev, rpc_queue_time_avg_time_nodemanager_max, allocated_containers_nodemanager_min, allocated_containers_nodemanager_std_dev, jvm_heap_committed_mb_nodemanager_min, allocated_containers_nodemanager_max, containers_running_nodemanager_min, allocated_containers_nodemanager_avg, allocated_containers_nodemanager_sum, metrics_snapshot_num_ops_nodemanager_max_rate, metrics_snapshot_num_ops_nodemanager_sum, rpc_queue_time_num_ops_nodemanager_min_rate, rpc_queue_time_num_ops_nodemanager_std_dev_rate, rpc_queue_time_num_ops_nodemanager_avg_rate, rpc_queue_time_num_ops_nodemanager_max_rate, rpc_queue_time_num_ops_nodemanager_sum, .
	at com.cloudera.cmon.components.MetricSchemaManager.createCompleteSchema(MetricSchemaManager.java:356)
	at com.cloudera.cmon.components.MetricSchemaManager.access$900(MetricSchemaManager.java:49)
	at com.cloudera.cmon.components.MetricSchemaManager$2.run(MetricSchemaManager.java:219)
	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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	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:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:108)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079)
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
	at com.cloudera.server.cmf.Main.findBeanFactory(Main.java:455)
	at com.cloudera.server.cmf.Main.findRootApplicationContext(Main.java:450)
	at com.cloudera.server.cmf.Main.<init>(Main.java:266)
	at com.cloudera.server.cmf.Main.main(Main.java:216)
2017-08-03 21:29:51,851 INFO main:org.springframework.beans.factory.support.DefaultListableBeanFactory: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2a28a5ae: defining beans [contextApplicationContextProvider,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,sessionRegistry,passwordEncoder,prototypeFactory,parameterFactory,csdManager,mdlRegistry,csdTranslationManager,csdLocalRepository,csdRegistryImpl,validatorConfiguration,predefinedViews,viewFactory,predefinedPlots,workAggregatesConfigListener,monitoringTypesInitializer,metricSchemaManagerBean,metricSchemaGeneration,beanConfiguration,pythonInterpreterFactory,jythonObjectFactoryImpl,clientProtocolImpl,perfLogger,actionablesProviderImpl,idleSessionManagerImpl,sessionServiceImpl,heartbeatCheckerImpl,cloudStatusDeterminer,hostTemplateManagerImpl,trialEventStalenessCheckTrigger,operationsManagerImpl,featureFlagTracker,embeddedDbManager,firehoseRequestService,licenseManagerImpl,authorizer,trialEventAuditor,licensedFeatureManager,operationalReportsDisabledListener,navigatorDisabledListener,cmUpgradeHelper,currentUserManagerImpl,userSettingTransactionManagerImpl,serviceDataProviderBean,clouderaManagerMetricsForwarder,scmActive,cmServerState,scmDbValueStore,descriptorFactory,ServerLogSearchResponse,agentLogFetcherImpl,logSearchEventsCollectorImpl,serverLogFetcherImpl,localParcelManagerImpl,parcelDependencyManagerImpl,periodicParcelTasks,parcelDownloaderImpl,parcelInstallerImpl,agentParcelProviderImpl,parcelStatusProviderImpl,parcelRepoConfigUpdateListener,parcelUpdateService,parcelManagerImpl,dirtyParametersListener,securityUtils,sslHelper,diagnosticsDataUploadHelper,commandStorage,stalenessChecker,commandManager,scheduleManagerImpl,cmfSchedulerImpl,processStalenessDetector,processStalenessInterceptor,dssdToggleListener.PreCommit,dssdToggleListener.PostCommit,solrLoadBalancerConfigUpdateListener,solrAuthenticationConfigUpdateListener,HBaseIndexerAuthenticationConfigUpdateListener,oozieLoadBalancerConfigUpdateListener,dynamicServiceHandlerFactory,configGeneratorFactory,peerConfigGeneratorFactory,runnerDescriptorProcessFactory,kerberosPrincProvider,configWriterFactory,compatibilityFactory,auxConfigGeneratorFactory,providesFactory,scmParamTrackerStoreImpl,hbaseRestServerSecurityListener,hbaseThriftServerSecurityListener,HBaseZkConfigUpdateListener,paramResolver,releaseDetector,configHelper,processHelper,zkServerInitListener,callableFactory,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,rulesEngine,builtInServiceTypes,builtInRoleTypes,builtInNamesForCrossEntityAggregateMetrics,builtInMetricEntityAttributes,builtInMetricEntityTypes,uniqueFieldValidator,requiresSubdirValidator,validServiceDependencyValidator,uniqueServiceTypeValidator,uniqueRoleTypeValidator,existingServiceTypeValidator,existingRoleTypeValidator,expressionValidator,autoConfigSharesValidValidator,messageInterpolator,sdlParser,mdlParser,parcelParser,alternativesParser,permissionsParser,manifestParser,stringInterpolator,serviceDescriptorValidator,serviceMonitoringDefinitionsDescriptorValidator,descriptorVisitor,referenceValidator,parcelDescriptorValidator,alternativesDescriptorValidator,permissionsDescriptorValidator,manifestDescriptorValidator,defaultValidatorConfiguration,springConstraintValidatorFactory,validatorFactoryBean,metricNameFormatValidator,nameForCrossEntityAggregateFormatValidator,objectMapper,getObjectMapper,agentAsyncClient,newHeartbeatRequester,commandRequestsBean,getSupportedLocale,newServiceHandlerRegistry,newEventStoreClientFactory,newAutoUpgradeHandlerRegistry,newUpgradeHandlerRegistry,newAgentResultFetcher,newCmfEntityManager,newDatabaseSizeGauge,newCdhExecutorFactory,databaseExecutor]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@5f34b479
2017-08-03 21:29:51,863 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]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [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: java.lang.IllegalStateException: Found 19 metrics with the same metric id: mem_virtual_agent_max, mem_virtual_agent_sum, mem_virtual_agent_avg, mem_virtual_agent_std_dev, rpc_queue_time_avg_time_nodemanager_max, allocated_containers_nodemanager_min, allocated_containers_nodemanager_std_dev, jvm_heap_committed_mb_nodemanager_min, allocated_containers_nodemanager_max, containers_running_nodemanager_min, allocated_containers_nodemanager_avg, allocated_containers_nodemanager_sum, metrics_snapshot_num_ops_nodemanager_max_rate, metrics_snapshot_num_ops_nodemanager_sum, rpc_queue_time_num_ops_nodemanager_min_rate, rpc_queue_time_num_ops_nodemanager_std_dev_rate, rpc_queue_time_num_ops_nodemanager_avg_rate, rpc_queue_time_num_ops_nodemanager_max_rate, rpc_queue_time_num_ops_nodemanager_sum, .
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409)
	at com.cloudera.server.cmf.Main.findBeanFactory(Main.java:455)
	at com.cloudera.server.cmf.Main.findRootApplicationContext(Main.java:450)
	at com.cloudera.server.cmf.Main.<init>(Main.java:266)
	at com.cloudera.server.cmf.Main.main(Main.java:216)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rootContext' defined in class path resource [webapp/WEB-INF/spring/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [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: java.lang.IllegalStateException: Found 19 metrics with the same metric id: mem_virtual_agent_max, mem_virtual_agent_sum, mem_virtual_agent_avg, mem_virtual_agent_std_dev, rpc_queue_time_avg_time_nodemanager_max, allocated_containers_nodemanager_min, allocated_containers_nodemanager_std_dev, jvm_heap_committed_mb_nodemanager_min, allocated_containers_nodemanager_max, containers_running_nodemanager_min, allocated_containers_nodemanager_avg, allocated_containers_nodemanager_sum, metrics_snapshot_num_ops_nodemanager_max_rate, metrics_snapshot_num_ops_nodemanager_sum, rpc_queue_time_num_ops_nodemanager_min_rate, rpc_queue_time_num_ops_nodemanager_std_dev_rate, rpc_queue_time_num_ops_nodemanager_avg_rate, rpc_queue_time_num_ops_nodemanager_max_rate, rpc_queue_time_num_ops_nodemanager_sum, .
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1003)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:907)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)
	at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079)
	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
	... 4 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [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: java.lang.IllegalStateException: Found 19 metrics with the same metric id: mem_virtual_agent_max, mem_virtual_agent_sum, mem_virtual_agent_avg, mem_virtual_agent_std_dev, rpc_queue_time_avg_time_nodemanager_max, allocated_containers_nodemanager_min, allocated_containers_nodemanager_std_dev, jvm_heap_committed_mb_nodemanager_min, allocated_containers_nodemanager_max, containers_running_nodemanager_min, allocated_containers_nodemanager_avg, allocated_containers_nodemanager_sum, metrics_snapshot_num_ops_nodemanager_max_rate, metrics_snapshot_num_ops_nodemanager_sum, rpc_queue_time_num_ops_nodemanager_min_rate, rpc_queue_time_num_ops_nodemanager_std_dev_rate, rpc_queue_time_num_ops_nodemanager_avg_rate, rpc_queue_time_num_ops_nodemanager_max_rate, rpc_queue_time_num_ops_nodemanager_sum, .
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:108)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)
	... 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: java.lang.IllegalStateException: Found 19 metrics with the same metric id: mem_virtual_agent_max, mem_virtual_agent_sum, mem_virtual_agent_avg, mem_virtual_agent_std_dev, rpc_queue_time_avg_time_nodemanager_max, allocated_containers_nodemanager_min, allocated_containers_nodemanager_std_dev, jvm_heap_committed_mb_nodemanager_min, allocated_containers_nodemanager_max, containers_running_nodemanager_min, allocated_containers_nodemanager_avg, allocated_containers_nodemanager_sum, metrics_snapshot_num_ops_nodemanager_max_rate, metrics_snapshot_num_ops_nodemanager_sum, rpc_queue_time_num_ops_nodemanager_min_rate, rpc_queue_time_num_ops_nodemanager_std_dev_rate, rpc_queue_time_num_ops_nodemanager_avg_rate, rpc_queue_time_num_ops_nodemanager_max_rate, rpc_queue_time_num_ops_nodemanager_sum, .
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
	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:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
	... 16 more
Caused by: java.lang.RuntimeException: java.lang.IllegalStateException: Found 19 metrics with the same metric id: mem_virtual_agent_max, mem_virtual_agent_sum, mem_virtual_agent_avg, mem_virtual_agent_std_dev, rpc_queue_time_avg_time_nodemanager_max, allocated_containers_nodemanager_min, allocated_containers_nodemanager_std_dev, jvm_heap_committed_mb_nodemanager_min, allocated_containers_nodemanager_max, containers_running_nodemanager_min, allocated_containers_nodemanager_avg, allocated_containers_nodemanager_sum, metrics_snapshot_num_ops_nodemanager_max_rate, metrics_snapshot_num_ops_nodemanager_sum, rpc_queue_time_num_ops_nodemanager_min_rate, rpc_queue_time_num_ops_nodemanager_std_dev_rate, rpc_queue_time_num_ops_nodemanager_avg_rate, rpc_queue_time_num_ops_nodemanager_max_rate, rpc_queue_time_num_ops_nodemanager_sum, .
	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:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
	... 36 more
Caused by: java.lang.IllegalStateException: Found 19 metrics with the same metric id: mem_virtual_agent_max, mem_virtual_agent_sum, mem_virtual_agent_avg, mem_virtual_agent_std_dev, rpc_queue_time_avg_time_nodemanager_max, allocated_containers_nodemanager_min, allocated_containers_nodemanager_std_dev, jvm_heap_committed_mb_nodemanager_min, allocated_containers_nodemanager_max, containers_running_nodemanager_min, allocated_containers_nodemanager_avg, allocated_containers_nodemanager_sum, metrics_snapshot_num_ops_nodemanager_max_rate, metrics_snapshot_num_ops_nodemanager_sum, rpc_queue_time_num_ops_nodemanager_min_rate, rpc_queue_time_num_ops_nodemanager_std_dev_rate, rpc_queue_time_num_ops_nodemanager_avg_rate, rpc_queue_time_num_ops_nodemanager_max_rate, rpc_queue_time_num_ops_nodemanager_sum, .
	at com.cloudera.cmon.components.MetricSchemaManager.createCompleteSchema(MetricSchemaManager.java:356)
	at com.cloudera.cmon.components.MetricSchemaManager.access$900(MetricSchemaManager.java:49)
	at com.cloudera.cmon.components.MetricSchemaManager$2.run(MetricSchemaManager.java:219)
	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)
	... 44 more
Announcements