helpful-raincoat-19244
03/20/2023, 3:41 PMastonishing-answer-96712
03/20/2023, 6:54 PMhelpful-raincoat-19244
03/21/2023, 8:07 AMhelpful-raincoat-19244
03/23/2023, 12:54 PMastonishing-answer-96712
03/23/2023, 5:33 PMhelpful-raincoat-19244
03/24/2023, 9:09 AM../gradlew build
and then installed it using
./gradlew :metadata-models-custom:install
this seems to work fine, after restarting the GMS the model seems to be available
{
"models": {
"mycompany-dq-model": {
"0.0.0-dev": {
"loadResult": "SUCCESS",
"registryLocation": "/etc/datahub/plugins/models/mycompany-dq-model/0.0.0-dev",
"failureCount": 0
}
}
},
[...]
After that I rebuild the project using
./gradlew quickstartDebug
and
./gradlew :metadata-service:war:build
as was recommended here
https://datahubproject.io/docs/docker/development/
I also tried to manually reindex using:
./gradlew quickstartDebug --debug --restore-indices
After all that I still see error 500 popups inside of the frontend and get the same errors, when e.g. trying the searchAcrossEntities-endpoint in the graphQL API
{
"errors": [
{
"message": "An unknown error occurred.",
"locations": [
{
"line": 34,
"column": 3
}
],
"path": [
"searchAcrossEntities"
],
"extensions": {
"code": 500,
"type": "SERVER_ERROR",
"classification": "DataFetchingException"
}
}
],
"data": {
"searchAcrossEntities": null
},
"extensions": {}
}
When I do that I see a lot of error messages in the datahub-gms logs, mostly
2023-03-24 09:19:23,362 [ForkJoinPool.commonPool-worker-11] ERROR c.l.d.g.r.s.SearchAcrossEntitiesResolver:90 - Failed to execute search for multiple entities: entity types null, query Dashboard, filters: null, start: 0, count: 10
2023-03-24 09:19:23,362 [ForkJoinPool.commonPool-worker-11] ERROR c.l.d.g.e.DataHubDataFetcherExceptionHandler:21 - Failed to execute DataFetcher
and
Suppressed: org.elasticsearch.client.ResponseException: method [POST], host [<http://elasticsearch:9200>], URI [/daboindex_v2/_count?ignore_throttled=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true], status line [HTTP/1.1 404 Not Found]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [daboindex_v2]","resource.type":"index_or_alias","resource.id":"daboindex_v2","index_uuid":"_na_","index":"daboindex_v2"}],"type":"index_not_found_exception","reason":"no such index [daboindex_v2]","resource.type":"index_or_alias","resource.id":"daboindex_v2","index_uuid":"_na_","index":"daboindex_v2"},"status":404}
at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:326)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:296)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:270)
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1632)
... 34 common frames omitted
Here is a link to the complete datahub-gms logfileastonishing-answer-96712
04/03/2023, 10:18 PMflaky-refrigerator-97518
05/09/2023, 4:03 AM