[ 
https://issues.apache.org/jira/browse/HIVE-15651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830871#comment-15830871
 ] 

Prasanth Jayachandran commented on HIVE-15651:
----------------------------------------------

That makes sense. I also don't see any use to support all states. I am updating 
the patch to support watch mode only for running states (no value needs to be 
specified for state). Also another option for threshold. So when watch mode is 
enabled the default behaviour is to wait for all nodes to come up (threshold 
1.0). When threshold is explicitly specified it will break when the threshold 
is met. Will post patch shortly after testing. 

> LLAP: llap status tool enhancements
> -----------------------------------
>
>                 Key: HIVE-15651
>                 URL: https://issues.apache.org/jira/browse/HIVE-15651
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>    Affects Versions: 2.2.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>         Attachments: HIVE-15651.1.patch
>
>
> Per [~sseth] following enhancements can be made to llap status tool
> 1) If state changes from an ACTIVE state to STOPPED - terminate the script 
> immediately (fail fast)
> 2) Add a threshold of what is acceptable in terms of the running state - 
> RUNNING_PARTIAL may be ok if 80% nodes are up for example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to