eager-florist-67924
03/21/2022, 10:26 AMprivate static void createTracingDomain() throws IOException, ExecutionException, InterruptedException {
MetadataChangeProposalWrapper mcpw = MetadataChangeProposalWrapper.builder()
.entityType("domain")
.entityUrn("urn:li:domain:tracing")
.upsert()
.aspect(new DomainProperties()
.setName("Tracing domain")
.setDescription("Domain for tracing")
)
.build();
emit(mcpw);
}
but it get error 500:
Caused by: java.lang.IllegalArgumentException: Failed to find entity with name domain in EntityRegistry
by checking the snapshot directory of given release on repo i am not able to see any domain entity. https://github.com/datahub-project/datahub/tree/v0.8.23/metadata-models/src/main/pegasus/com/linkedin/metadata/snapshot
So how can i create a domain entity? Could you please provide some example? thxbetter-orange-49102
03/21/2022, 10:45 AMeager-florist-67924
03/21/2022, 10:51 AM