Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafadruid plugin not working #153

Open
SRoy0001 opened this issue Mar 31, 2023 · 3 comments
Open

Grafadruid plugin not working #153

SRoy0001 opened this issue Mar 31, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@SRoy0001
Copy link

SRoy0001 commented Mar 31, 2023

Hi,

I'm getting this error when I'm running a query that runs on druid datasource plugin. Any help on this would be much appreciated.
image

pluginerrorr

@bourbonkk
Copy link

In my case, this happened when the data being queried was over 11000 points, and once it happened, it could not be recovered.
If you need to use it right away, I think you can retrieve it with a smaller query range.

@dhilt
Copy link

dhilt commented Apr 27, 2023

The same issue. I have endpoint accepting druid queries in JSON, it works like

POST http://my_url

with the following payload

{
    "queryType": "timeseries",
    "dataSource": "internal_v1",
    "descending": "true",
    "intervals": ["2023-04-17T13:47:00.000Z/2023-04-17T14:47:00.000Z"],
    "granularity": { "type": "duration", "duration": 60000 },
    "aggregations": [{ "type": "doubleSum", "name": "count", "fieldName": "count" }],
    "threshold": 25
}

The response is like

[
    { "timestamp": "2023-04-17T14:46:00.000Z", "result": { "count": 0.0 } },
    ...
]

But when I try to use http://my_url endpoint as the plugin connection url, it results in the plugin-unavailable error.

  1. GET /health from the /datasources page gives 503 {"message":"Plugin unavailable","traceID":""}.
  2. POST /query from the /explore page gives 500 {"message":"Internal server error","messageId":"plugin.unavailable","statusCode":500,"traceID":""}

Screenshot 2023-04-27 133757

Is there a way to debug what's wrong with my endpoint? Is there a way to skip health check and force the plugin to pass queries without availability testing? Or any other idea regarding the issue...

@jbguerraz
Copy link
Contributor

Hello @SRoy0001 , @bourbonkk and @dhilt
I feel like this could have been introduced recently, could you try the previous version and let me know if you still reproduce ? thank you !

@jbguerraz jbguerraz added the bug Something isn't working label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants