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

jcamacho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git


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

commit d75e9c75796fdff15c83c968285b3a0bbe863e44
Author: Jesus Camacho Rodriguez <[email protected]>
AuthorDate: Sat Sep 21 11:34:25 2019 -0700

    HIVE-22219: Bringing a node manager down blocks restart of LLAP service 
(Jesus Camacho Rodriguez, reviewed by Slim Bouguerra)
---
 .../org/apache/hadoop/hive/llap/cli/status/LlapStatusServiceDriver.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 5eb0306..e3302b7 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 @@ public class LlapStatusServiceDriver {
           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 {

Reply via email to