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/04/09 02:40:51 UTC

[GitHub] [druid] rec7y33 opened a new issue #11086: How to load extension only to the broker

rec7y33 opened a new issue #11086:
URL: https://github.com/apache/druid/issues/11086


   Hi everyone, how do I load extension only to the broker? as stated here: https://druid.apache.org/docs/latest/development/extensions-contrib/moving-average-query.html#operations
   
   `To use this extension, make sure to load druid-moving-average-query only to the Broker.`
   
   Thanks


-- 
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] Kinigopoulos commented on issue #11086: How to load extension only to the broker

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


   Ok, so I send to `localhost:8082/druid/v2` a request from the examples of the extension's website page to test if it's working and I am getting back:
   ```
   {
     "error": "Unknown exception",
     "errorMessage": "org.apache.druid.java.util.common.NonnullPair cannot be cast to java.util.concurrent.ConcurrentHashMap",
     "errorClass": "java.lang.ClassCastException",
     "host": null
   }
   ```
   


-- 
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] Kinigopoulos commented on issue #11086: How to load extension only to the broker

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


   Hello,
   I try to load the extension to the broker but when I start druid, it seems that it isn't loading because the queryType doesn't exist.
   I am using version 0.21.0 but I have used previous ones as well. The result is unfortunately the same.
   
   In the `conf/druid/broker/runtime.properties` file, I added `druid.extensions.loadList=["moving-average-query"]` at the top.
   I am using the micro-quickstart configuration and I haven't changed anything else from there.
   
   Java version (if for some reason that's what causes it): openjdk 1.8.0_292
   
   I would be glad if someone could help.
   Thanks in advance!


-- 
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] Kinigopoulos commented on issue #11086: How to load extension only to the broker

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






-- 
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] Kinigopoulos commented on issue #11086: How to load extension only to the broker

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


   @FrankChen021 thanks for the reply.
   It seems that, indeed, the broker loads the extension.
   However, how do I send queries to the broker? Is there a way from the web-based UI?


-- 
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] FrankChen021 commented on issue #11086: How to load extension only to the broker

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


   Looks like there's a bug. I will investigate it later.


-- 
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] FrankChen021 commented on issue #11086: How to load extension only to the broker

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


   > @FrankChen021 thanks for the reply.
   > 
   > It seems that, indeed, the broker loads the extension.
   > 
   > However, how do I send queries to the broker? Is there a way from the web-based UI?
   
   queries can't be sent to broker from the web console. You could find the broker IP address on the Services Tab on web console,and send queries to that address.


-- 
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] JulianJaffePinterest edited a comment on issue #11086: How to load extension only to the broker

Posted by GitBox <gi...@apache.org>.
JulianJaffePinterest edited a comment on issue #11086:
URL: https://github.com/apache/druid/issues/11086#issuecomment-817595948


   Assuming you have your configuration files laid out in the [recommended manner](http://druid.apache.org/docs/latest/configuration/index.html), just add the moving average extension to the `druid.extensions.loadList` in `conf/druid/broker/runtime.properties` as opposed to `conf/druid/_common/common.runtime.properties`.


-- 
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] FrankChen021 edited a comment on issue #11086: How to load extension only to the broker

Posted by GitBox <gi...@apache.org>.
FrankChen021 edited a comment on issue #11086:
URL: https://github.com/apache/druid/issues/11086#issuecomment-841945261


   @Kinigopoulos there're something you could check:
   1. check the log of broker to make sure the extension has been loaded
   2. make sure the query is sent to broker instead of druid router


-- 
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] FrankChen021 edited a comment on issue #11086: How to load extension only to the broker

Posted by GitBox <gi...@apache.org>.
FrankChen021 edited a comment on issue #11086:
URL: https://github.com/apache/druid/issues/11086#issuecomment-841945261


   @Kinigopoulos there're something you could check:
   1. check the log of broker to make sure the extension has been loaded
   2. make sure the query is sent to broker instead of druid router


-- 
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] JulianJaffePinterest commented on issue #11086: How to load extension only to the broker

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


   Assuming you have your configuration files laid out in the [recommend manner](http://druid.apache.org/docs/latest/configuration/index.html), just add the moving average extension to the `druid.extensions.loadList` in `conf/druid/broker/runtime.properties` as opposed to `conf/druid/_common/common.runtime.properties`.


-- 
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] FrankChen021 commented on issue #11086: How to load extension only to the broker

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


   @Kinigopoulos There is an issue(#10799) reporting this problem. Any messages about this problem will be updated there. Thanks.


-- 
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] FrankChen021 commented on issue #11086: How to load extension only to the broker

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






-- 
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] FrankChen021 commented on issue #11086: How to load extension only to the broker

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


   @Kinigopoulos there're something you could check.


-- 
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