Hello everyone! We have added an elastic cluster i...
# ingestion
w
Hello everyone! We have added an elastic cluster in datahub. But now this cluster is deleted. Hence the ingestion doesnt work, and the old metadata is just hanging there. Is there a way currently to remove it from datahub? Thank you!
c
Can you try if variations of below query ( datahub cli) help you:
datahub delete
You can check different options there with --help option
w
yes but we have to delete also the urns that are inside the main container… is there a way to remove all at once? or a way to know what urns are inside the container?
c
You can delete by platform. That way you don't need to delete by each urn
w
yes but i have other elasticsearch clusters that i need to keep
c
Oh. ok. Let me revert with more details
👍 1
w
I started deletion by urn because actually there is not so many but i am getting this error when trying to remove a container
Copy code
Failed to execute operation
java.lang.RuntimeException: Could not deserialize ByteString(length=4,bytes=6e756c6c) for aspect container
c
@mammoth-bear-12532 Can you help here?
s
@witty-painting-90923 -We have a similar issue and I tried to delete using
datahub delete
command but the search indices metadata still persists. How did you manage to delete the old metadata?