search cancel

Error when using streaming metrics in Restmon

book

Article ID: 230572

calendar_today

Updated On:

Products

DX Operational Intelligence

Issue/Introduction

We are observing the following error in Restmomn log when using streaming metrics.
 
java.lang.IllegalStateException: No ExecutorFactory found to execute the application.
    at org.apache.flink.core.execution.DefaultExecutorServiceLoader.getExecutorFactory(DefaultExecutorServiceLoader.java:88)
    at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.executeAsync(StreamExecutionEnvironment.java:1947)
    at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.java:1848)
    at org.apache.flink.streaming.api.environment.LocalStreamEnvironment.execute(LocalStreamEnvironment.java:69)
    at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.java:1834)
    at com.ca.ce.restmon.common.handlers.profile.ProfileHandler.lambda$checkStreamExecEnv$13(ProfileHandler.java:1699)
    at java.base/java.lang.Thread.run(Thread.java:829)

Environment

Release : 21.3

Component : CA DOI RESTMON

Resolution

This Restmon instance is using winlogbeat schema This winlogbeat schema is using windowed aggregation metrics. (basically aggregating the metrics over the given time interval defined using interval_seconds)

It is not recommended to use RESTMon for the aggregation metrics like this, instead use the aggregation available in NASS(OI) for the times series metrics ingested from NASS.