You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by jl...@apache.org on 2019/04/17 17:43:29 UTC

[incubator-pinot] branch master updated: Add getter method for getting ControllerLeadershipManager (#4129)

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

jlli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new d889dbd  Add getter method for getting ControllerLeadershipManager (#4129)
d889dbd is described below

commit d889dbd0c2b2baa840e0da602592b3bdc1d76155
Author: Jialiang Li <jl...@linkedin.com>
AuthorDate: Wed Apr 17 10:43:23 2019 -0700

    Add getter method for getting ControllerLeadershipManager (#4129)
---
 .../src/main/java/org/apache/pinot/controller/ControllerStarter.java  | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/pinot-controller/src/main/java/org/apache/pinot/controller/ControllerStarter.java b/pinot-controller/src/main/java/org/apache/pinot/controller/ControllerStarter.java
index 9e8a699..8f57c11 100644
--- a/pinot-controller/src/main/java/org/apache/pinot/controller/ControllerStarter.java
+++ b/pinot-controller/src/main/java/org/apache/pinot/controller/ControllerStarter.java
@@ -180,6 +180,10 @@ public class ControllerStarter {
     return _taskManager;
   }
 
+  public ControllerLeadershipManager getControllerLeadershipManager() {
+    return _controllerLeadershipManager;
+  }
+
   public void start() {
     LOGGER.info("Starting Pinot controller in mode: {}.", _controllerMode.name());
     Utils.logVersions();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org