Skip to content

Conversation

ivakegg
Copy link
Collaborator

@ivakegg ivakegg commented Aug 26, 2025

Updated table cache to use the update in-memory-accumulo allowing for synchronous updates to the table cache during reloads. Updated table cache to provide an isAvailable mechanism to know when tables have been loaded.
Updated the health mechanism to check table caches in addition to the connection factory.

synchronous updates to the table cache during reloads.
Updated table cache to provide an isAvailable mechanism to know when
tables have been loaded.
Updated the health mechanism to check table caches in addition to the
connection factory.
@foster33
Copy link
Collaborator

The version of accumulo in in-memory-accumulo 4.0.2 seems to break the query-metric service. After seeing the consistent unhealthy query-metric containers in the failing workflows, I decided to run this locally (and on a fresh integration branch with that accumulo version) and saw a lot of output in the docker logs.

2025-08-27 20:36:27.837  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'queryMetricOperations' defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/datawave/microservice/querymetric/QueryMetricOperations.class]: Unsatisfied dependency expressed through 
constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'queryMetricCacheManager' defined in class path resource 
[datawave/microservice/querymetric/config/HazelcastMetricCacheConfiguration.class]: Unsatisfied dependency expressed through method 'queryMetricCacheManager' parameter 0; nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hazelcastInstance' defined in class path resource [datawave/microservice/querymetric/config/HazelcastMetricCacheConfiguration.class]: Unsatisfied 
dependency expressed through method 'hazelcastInstance' parameter 1; nested exception is 
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'store' defined in URL [jar:file:/app.jar!/BOOT-INF/classes!/datawave/microservice/querymetric/persistence/AccumuloMapStore.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shardTableQueryMetricHandler' defined in class path resource [datawave/microservice/querymetric/config/QueryMetricHandlerConfiguration.class]: Bean 
instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [datawave.microservice.querymetric.handler.ShardTableQueryMetricHandler]: Factory method 
'shardTableQueryMetricHandler' threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to connect to zookeeper (quickstart:2181) within 2x zookeeper timeout period 30000

Probably a good idea to dive deeper into the logs to see everything else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants