You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/01/18 02:08:16 UTC

[GitHub] [druid] linehrr opened a new issue #10773: TieredBrokerHostSelector - No brokerServiceName found for datasource

linehrr opened a new issue #10773:
URL: https://github.com/apache/druid/issues/10773


   
   ### Affected Version
   
   0.18.1
   
   ### Description
   
   router logs have error like this:
   
   `2021-01-18T02:00:54,040 ERROR [qtp1532989443-88] org.apache.druid.server.router.TieredBrokerHostSelector - No brokerServiceName found for datasource[Report], intervals[[2021-01-14T09:00:00.000Z/2021-01-14T10:00:00.000Z]]. Using default[druid/broker].`
   
   no idea about how this happened. and there are no other logs that's useful. 
   queries most of the time succeeded. because looks like `using default[druid/broker]` works. however some queries sporadically fails, return code is HTTP 503. 
   other than this we don't see other error logs, so we thought this could be related. 
   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [druid] machine424 commented on issue #10773: TieredBrokerHostSelector - No brokerServiceName found for datasource

Posted by GitBox <gi...@apache.org>.
machine424 commented on issue #10773:
URL: https://github.com/apache/druid/issues/10773#issuecomment-818684361


   I think you need to set `druid.router.tierToBrokerMap`, see [here](https://druid.apache.org/docs/latest/configuration/index.html#runtime-configuration) otherwise the router will "not find" the corresponding broker to take care of your query in the map, log an error and fallback to `druid.router.defaultBrokerServiceName`
   
   relevant code: https://github.com/apache/druid/blob/druid-0.20.2/server/src/main/java/org/apache/druid/server/router/TieredBrokerHostSelector.java#L192-L244 (druid 0.20.2)


-- 
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:
users@infra.apache.org



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