The data aggregator crashes when attempting to restart after the data repository nodes fail.
search cancel

The data aggregator crashes when attempting to restart after the data repository nodes fail.

book

Article ID: 244742

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

The data aggregator crashes when attempting to restart after the data repository nodes fail

Restarting DA does not make a difference, an error similar to the following in the karaf,out on the Data Aggregator:


ERROR | xtenderThread-26 | <TIMESTAMP> | ContextLoaderListener | BundleApplicationContextListener   50 | gframework.osgi.extender |       | Application context refresh failed (OsgiBundleXmlApplicationContext(bundle=com.ca.im.data-manager.core.aggregator.checkdbstate, config=osgibundle:/META-INF/spring/*.xml))
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbStateManager': Invocation of init method failed; nested exception is java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
...
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbStateManager': Invocation of init method failed; nested exception is java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Environment

Release : 20.2
Component : PM Data Aggregator

Cause

Defect: DE508436

Resolution

This issue is corrected in DX Netops Performance Management 21.2.4 and later.

Symptom: The data aggregator crashes when attempting to restart after the data repository nodes fail.
Resolution: Added empty list check to query for active data aggregator.
(21.2.4, DE508436, 32766888)

Additional Information

Workaround:

Stop the Data Aggregator.

On the Data Repository run:

/opt/vertica/bin/vsql -Udradmin -wdradminpassword -e " SELECT clear_data_collector();"

Replace dradmin/dradminpassword with the DR admin username/password.

3. Verify the Data Aggregator can be started again.