diff --git a/llap-server/src/java/org/apache/hadoop/hive/llap/cli/status/LlapStatusServiceDriver.java b/llap-server/src/java/org/apache/hadoop/hive/llap/cli/status/LlapStatusServiceDriver.java index 5eb030695e..e3302b71f8 100644 --- a/llap-server/src/java/org/apache/hadoop/hive/llap/cli/status/LlapStatusServiceDriver.java +++ b/llap-server/src/java/org/apache/hadoop/hive/llap/cli/status/LlapStatusServiceDriver.java @@ -379,7 +379,7 @@ private ExitCode populateAppStatusFromServiceStatus(String appName, ServiceClien LlapInstance llapInstance = new LlapInstance(cont.getHostname(), cont.getId()); appStatusBuilder.addNewRunningLlapInstance(llapInstance); } - if (state == ServiceState.STABLE) { + if (state == ServiceState.STARTED || state == ServiceState.STABLE || state == ServiceState.FLEX) { exitCode = ExitCode.SUCCESS; } } else {