Hi team I am using datahub v0.8.23 and trying to a...
# ingestion
e
Hi team I am using datahub v0.8.23 and trying to add domain entity by Java Emitter.
Copy code
private 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:
Copy code
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? thx
b
domain is only released in v0.8.25
e
Oh shame. But thanks for info. I have to upgrade my setup