damp-minister-31834
01/24/2022, 10:22 AMdazzling-appointment-34954
01/24/2022, 11:00 AMprehistoric-dawn-23569
01/24/2022, 2:05 PMaloof-arm-38044
01/24/2022, 5:30 PM/relationships
endpoint does not seem to be supported in GraphQL. This is extremely important for our use cases. Any reason why it is not supported yet? Any plans to do that in the future? Any best practice for how we can the /relationships
endpoint in the meantime?
2. Trying out the default example for providing a custom metadata model i.e. adding a custom aspect for data quality rules and seeing them automatically rendered in the UI as per , we’ve noticed some slightly surprising things:
2.1 We can update a custom aspect via the DataHub cli:
datahub put --urn "urn:li:dataset:(urn:li:dataPlatform:hive,logging_events,PROD)" --aspect customDataQualityRules --aspect-data data/dq_rule.json
but NOT via a direct curl POST request which returns a 400:
{"exceptionClass":"com.linkedin.restli.server.RestLiServiceException","stackTrace":"com.linkedin.restli.server.RestLiServiceException [HTTP Status:400]: Parameters of method 'ingest' failed validation with error 'ERROR :: /entity/value/com.linkedin.metadata.snapshot.DatasetSnapshot/aspects/0 :: \"com.mycompany.dq.DataQualityRules\" is not a member type of union ...
2.2 Why does a custom aspect not appear in the response to a simple get request on the resource that is has been added to? E.g.
curl '<http://localhost:8080/entities/urn:li:dataset:(urn:li:dataPlatform:hive,logging_event,PROD)>'
The above does NOT return the DataQualityRules
aspect as part of the response despite it showing correctly in the UI
You get:
{
"value": {
"com.linkedin.metadata.snapshot.DatasetSnapshot": {
"urn": "urn:li:dataset:(urn:li:dataPlatform:hive,logging_event,PROD)",
"aspects": [
{
"com.linkedin.metadata.key.DatasetKey": {
"origin": "PROD",
"name": "logging_event",
"platform": "urn:li:dataPlatform:hive"
}
}
]
}
}
}
2.3 Adding a custom aspect to the CorpUser entity following the exact same steps as the default example does NOT render it on the corp user page. Is there something special about how the CorpUser entities are rendered in the UI that prevents adding custom aspects with the render spec enabled?
_Note_: fully rebuilding the project and redeploying GMS and frontend services did not fix the above.
---mysterious-lamp-91034
01/24/2022, 5:41 PMstrong-engineer-23656
01/25/2022, 10:21 AMbrave-secretary-27487
01/25/2022, 12:30 PMdazzling-appointment-34954
01/25/2022, 4:26 PMmysterious-lamp-91034
01/25/2022, 11:47 PMbreezy-controller-54597
01/26/2022, 1:14 AMhappy-island-35913
01/26/2022, 10:45 AMmost-boots-68766
01/26/2022, 11:57 AMalert-beach-77662
01/26/2022, 12:52 PMworried-elephant-18735
01/26/2022, 1:35 PMfull-leather-27343
01/26/2022, 4:08 PMminiature-television-17996
01/27/2022, 7:43 AMaloof-father-61672
01/27/2022, 1:08 PM$ datahub docker quickstart --quickstart-compose-file docker/quickstart/docker-compose-without-neo4j-m1.quickstart.yml
I get the following error:
Unable to run quickstart - the following issues were detected:
- datahub-gms is running but not healthy
If you think something went wrong, please file an issue at <https://github.com/linkedin/datahub/issues>
or send a message in our Slack <https://slack.datahubproject.io/>
Be sure to attach the logs from /var/folders/zy/bj53_ssx3sg72s1rnqhrtpmh0000gp/T/tmpkpcdr_2l.log
I've attached /var/folders/zy/bj53_ssx3sg72s1rnqhrtpmh0000gp/T/tmpkpcdr_2l.log
Anyone else having similar issue?alert-beach-77662
01/27/2022, 1:27 PMalert-beach-77662
01/27/2022, 2:10 PMmysterious-lamp-91034
01/28/2022, 7:27 AMcom.linkedin.schema.EditableSchemaMetadata
implemented. So that I can write a similar one for my entity.
https://github.com/linkedin/datahub/blob/b32975d6dbb75ea696da54c120d9cade58360c5d/[…]/linkedin/datahub/graphql/resolvers/mutate/util/LabelUtils.java
The context is I am going to fork datahub, and create entities, aspects for internal use.
If I want to mutate my entity, looks like I have to call com.linkedin.datahub.graphql.resolvers.mutate.MutationUtils*.*persistAspect
and the 3rd parameter is a RecordTemplate
, then I have to create a class which inherits RecordTemplate
. I am looking for an example source code, like com.linkedin.schema.EditableSchemaMetadata
.
Thanksloud-musician-49912
01/28/2022, 2:28 PMsparse-father-33469
01/31/2022, 9:40 AMcool-petabyte-45910
01/31/2022, 3:08 PM'HTTPError: 401 Client Error: Unauthorized for url: http://<<MY IP>>:9002/api/gms/config\n'
Is there error in configuration of the credentials for my Snowflake account or is it something else? According the guide I’ve installed the plugin for snowflake access prior to running the ingestion.prehistoric-dawn-23569
02/01/2022, 2:07 PMabundant-receptionist-6114
02/02/2022, 8:05 AMalert-beach-77662
02/02/2022, 9:09 AMalert-beach-77662
02/02/2022, 11:11 AMambitious-exabyte-53451
02/02/2022, 1:24 PMsticky-stone-98991
02/02/2022, 3:34 PMdazzling-appointment-34954
02/02/2022, 6:03 PM