jon-wei commented on a change in pull request #8107: Add CliIndexer process 
type and initial task runner implementation
URL: https://github.com/apache/incubator-druid/pull/8107#discussion_r307905070
 
 

 ##########
 File path: 
indexing-service/src/main/java/org/apache/druid/indexing/overlord/hrtr/HttpRemoteTaskRunner.java
 ##########
 @@ -463,6 +463,32 @@ public void nodeViewInitialized()
         }
     );
 
+    DruidNodeDiscovery druidNodeDiscoveryIndexer = 
druidNodeDiscoveryProvider.getForNodeType(NodeType.INDEXER);
 
 Review comment:
   I changed this to use the suggested code.
   
   It looks like `WorkerNodeService.DISCOVERY_SERVICE_KEY` was incorrectly 
mapped to `NodeType.PEON` in `DruidNodeDiscoveryProvider` previously, I also 
changed that to the MM and indexer types.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to