hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (HIVE-21909) Publish the LLAP Daemon capacity through ZooKeeper and honor the capacity when scheduling new tasks
Date Wed, 03 Jul 2019 14:59:01 GMT


ASF GitHub Bot logged work on HIVE-21909:

                Author: ASF GitHub Bot
            Created on: 03/Jul/19 14:58
            Start Date: 03/Jul/19 14:58
    Worklog Time Spent: 10m 
      Work Description: asinkovits commented on pull request #695: HIVE-21909: Publish the
LLAP Daemon capacity through ZooKeeper and ho…

 File path: llap-server/src/test/org/apache/hadoop/hive/llap/daemon/impl/
 @@ -0,0 +1,111 @@
+package org.apache.hadoop.hive.llap.daemon.impl;
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hive.conf.HiveConf;
+import org.apache.hadoop.hive.llap.LlapDaemonInfo;
+import org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos;
+import org.apache.hadoop.hive.llap.metrics.LlapMetricsSystem;
+import org.apache.hadoop.hive.llap.metrics.MetricsUtils;
+import org.apache.hadoop.hive.llap.registry.impl.LlapRegistryService;
+import org.apache.hadoop.metrics2.MetricsSystem;
+import org.junit.After;
+import org.junit.Assert;
+import org.junit.Before;
+import org.junit.Test;
+import org.mockito.ArgumentCaptor;
+import org.mockito.Captor;
+import org.mockito.Mock;
+import org.mockito.Spy;
+import org.mockito.internal.util.reflection.Fields;
+import org.mockito.internal.util.reflection.InstanceField;
+import java.util.List;
+import java.util.Map;
+import static org.mockito.Mockito.verify;
+import static org.mockito.Mockito.when;
+import static org.mockito.MockitoAnnotations.initMocks;
+public class TestLlapDaemon {
+  private static final String[] METRICS_SOURCES = new String[]{
+    "JvmMetrics",
+    "LlapDaemonExecutorMetrics-" + MetricsUtils.getHostName(),
+    "LlapDaemonJvmMetrics-" + MetricsUtils.getHostName(),
+  };
+  @Spy
 Review comment:
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:

Issue Time Tracking

    Worklog Id:     (was: 271675)
    Time Spent: 2h 10m  (was: 2h)

> Publish the LLAP Daemon capacity through ZooKeeper and honor the capacity when scheduling
new tasks
> ---------------------------------------------------------------------------------------------------
>                 Key: HIVE-21909
>                 URL:
>             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: 2h 10m
>  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

View raw message