hello! My cleanup job seems to be running into an ...
# all-things-deployment
e
hello! My cleanup job seems to be running into an error where it’s trying to cleanup some neo4j stuff (we’re running elastic search). Here’s the error we’re running into:
Copy code
Failed to delete legacy data from graph: java.lang.ClassCastException: com.linkedin.metadata.graph.elastic.ElasticSearchGraphService cannot be cast to com.linkedin.metadata.graph.Neo4jGraphService
Failed to delete legacy data from graph: java.lang.ClassCastException: com.linkedin.metadata.graph.elastic.ElasticSearchGraphService cannot be cast to com.linkedin.metadata.graph.Neo4jGraphService
Failed Step 3/4: DeleteLegacyGraphRelationshipStep. Failed after 1 retries.
g
Hey @elegant-traffic-96321 - did you end up resolving this issue?
e
yeah I think we figured it out
👍 1
b
Hey @elegant-traffic-96321, we are running into the same issue, so could you please explain how you solved it?
e
yeah so it’s in a later thread, but essentially you have to make sure to have the USE_ELASTICSEARCH param set: https://docs.google.com/document/d/14tzUhIf5E_BNpRjdTbzWJx6DtknUv7615IvUK2Ah_x0/edit?usp=sharing
thankyou 2
b
Thanks @elegant-traffic-96321!
p
Dear @elegant-traffic-96321 I hava same error regarding cleanup job. (we're also running elastic search, instead of Neo4j as graphDB) How cloud we solve this issue? How could we set USE_ELASTICSEARCH ? (I think the above google docs is overwritten or expired now) Does the cleanup job support elastic search which is used as graphDB? Thanks