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

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


The following commit(s) were added to refs/heads/master by this push:
     new 78defa4  Fix missing DataNodeService for historical (#6762)
78defa4 is described below

commit 78defa436b80efb11a10f809c6e71fb4df1ec52e
Author: Jihoon Son <jihoon...@apache.org>
AuthorDate: Thu Dec 20 09:13:38 2018 -0800

    Fix missing DataNodeService for historical (#6762)
---
 services/src/main/java/org/apache/druid/cli/CliHistorical.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/services/src/main/java/org/apache/druid/cli/CliHistorical.java 
b/services/src/main/java/org/apache/druid/cli/CliHistorical.java
index d8432d3..4064d97 100644
--- a/services/src/main/java/org/apache/druid/cli/CliHistorical.java
+++ b/services/src/main/java/org/apache/druid/cli/CliHistorical.java
@@ -25,6 +25,7 @@ import com.google.inject.name.Names;
 import io.airlift.airline.Command;
 import org.apache.druid.client.cache.CacheConfig;
 import org.apache.druid.client.cache.CacheMonitor;
+import org.apache.druid.discovery.DataNodeService;
 import org.apache.druid.discovery.LookupNodeService;
 import org.apache.druid.discovery.NodeType;
 import org.apache.druid.guice.CacheModule;
@@ -104,7 +105,7 @@ public class CliHistorical extends ServerRunnable
           bindAnnouncer(
               binder,
               DiscoverySideEffectsProvider.builder(NodeType.HISTORICAL)
-                                          
.serviceClasses(ImmutableList.of(LookupNodeService.class))
+                                          
.serviceClasses(ImmutableList.of(DataNodeService.class, 
LookupNodeService.class))
                                           .build()
           );
         },


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to