[ 
https://issues.apache.org/jira/browse/HIVE-21909?focusedWorklogId=271510&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-271510
 ]

ASF GitHub Bot logged work on HIVE-21909:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Jul/19 09:49
            Start Date: 03/Jul/19 09:49
    Worklog Time Spent: 10m 
      Work Description: asinkovits commented on pull request #695: HIVE-21909: 
Publish the LLAP Daemon capacity through ZooKeeper and ho…
URL: https://github.com/apache/hive/pull/695#discussion_r299871616
 
 

 ##########
 File path: 
llap-client/src/java/org/apache/hadoop/hive/llap/registry/impl/LlapRegistryService.java
 ##########
 @@ -132,6 +136,12 @@ private void unregisterWorker() throws IOException {
     }
   }
 
+  public void updateRegistration(Iterable<Map.Entry<String, String>> 
attributes) throws IOException {
+    if (isDaemon && this.registry != null) {
 
 Review comment:
   The other register/unregister methods are private and called in 
serviceStart/serviceStoped only if isDaemon=true.
   Since this new method is public, I wanted to make sure it has the same 
behaviour. 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 271510)
    Time Spent: 1h  (was: 50m)

> Publish the LLAP Daemon capacity through ZooKeeper and honor the capacity 
> when scheduling new tasks
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-21909
>                 URL: https://issues.apache.org/jira/browse/HIVE-21909
>             Project: Hive
>          Issue Type: Sub-task
>          Components: llap
>            Reporter: Peter Vary
>            Assignee: Antal Sinkovits
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21909.01.patch
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> The changes in LlapDaemonNode status (or executor number) should be reflected 
> in the ZooKeeper information, and we should make sure TezAMs are reading and 
> honor the changes.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to