This is an automated email from the ASF dual-hosted git repository.

sankarh pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hive.git


The following commit(s) were added to refs/heads/branch-3 by this push:
     new ebcdbdde3d5 HIVE-27547: Backport HIVE-22219: Bringing a node manager 
down blocks restart of LLAP service (Jesus Camacho Rodriguez, reviewed by Slim 
Bouguerra)
ebcdbdde3d5 is described below

commit ebcdbdde3d5af126d5a4d9d5c08003eeeeee9c19
Author: Aman Raj <[email protected]>
AuthorDate: Fri Aug 11 12:43:17 2023 +0530

    HIVE-27547: Backport HIVE-22219: Bringing a node manager down blocks 
restart of LLAP service (Jesus Camacho Rodriguez, reviewed by Slim Bouguerra)
    
    Signed-off-by: Sankar Hariappan <[email protected]>
    Closes (#4530)
---
 .../java/org/apache/hadoop/hive/llap/cli/LlapStatusServiceDriver.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapStatusServiceDriver.java
 
b/llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapStatusServiceDriver.java
index e0ada45ee40..c1bae653479 100644
--- 
a/llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapStatusServiceDriver.java
+++ 
b/llap-server/src/java/org/apache/hadoop/hive/llap/cli/LlapStatusServiceDriver.java
@@ -381,7 +381,7 @@ public class LlapStatusServiceDriver {
               cont.getId());
           appStatusBuilder.addNewRunningLlapInstance(llapInstance);
         }
-        if (state == ServiceState.STABLE) {
+        if (state == ServiceState.STARTED || state == ServiceState.STABLE || 
state == ServiceState.FLEX) {
           exitCode = ExitCode.SUCCESS;
         }
       } else {

Reply via email to