metadata icon indicating copy to clipboard operation
metadata copied to clipboard

How can I delete an artifact? The metadata REST-API is returning "not implemented error: DeleteArtifact".

Open ghost opened this issue 5 years ago • 7 comments

ghost avatar Oct 29 '19 10:10 ghost

/area usage /priority p2

jtfogarty avatar Jan 14 '20 21:01 jtfogarty

I'm also needing to delete stuff.

schmidt-jake avatar May 19 '20 21:05 schmidt-jake

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

issue-label-bot[bot] avatar May 19 '20 21:05 issue-label-bot[bot]

Issue-Label Bot is automatically applying the labels:

Label Probability
area/front-end 0.95

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar May 19 '20 21:05 issue-label-bot[bot]

Facing same issue, how deletion of artifacts can be achieved in Kubeflow 1.0?

Reproduction:

curl http://metadata-service.kubeflow:8080/api/v1alpha1/artifact_types/kubeflow.org/alpha/model/artifacts/1

{"artifact":{"id":"1","type_id":"4","uri":"s3://my-bucket/model_test.pickle","properties":{"__ALL_META__":{"string_value":"{\"workspace\": null, \"name\": \"model_test_as\", \"description\": \"test desc\", \"owner\": \"dummy\", \"uri\": \"s3://my-bucket/model_test.pickle\", \"version\": \"2020-06-10\", \"model_type\": \"sklearn\", \"training_framework\": {\"name\": \"sklearn\"}, \"hyperparameters\": null, \"labels\": null, \"id\": null, \"create_time\": \"2020-06-10T04:17:40.239560Z\", \"kwargs\": {}}"},"create_time":{"string_value":"2020-06-10T04:17:40.239560Z"},"description":{"string_value":"test desc"},"model_type":{"string_value":"sklearn"},"name":{"string_value":"model_test_as"},"owner":{"string_value":"dummy"},"version":{"string_value":"2020-06-10"}},"custom_properties":{"__kf_run__":{"string_value":"run-2020-06-10T04:16:33.707370"},"__kf_workspace__":{"string_value":"dummy"}}}}

curl -X DELETE http://metadata-service.kubeflow:8080/api/v1alpha1/artifact_types/kubeflow.org/alpha/model/artifacts/1

{"error":"not implemented error: DeleteArtifact","message":"not implemented error: DeleteArtifact","code":2}

avishniakov avatar Jun 11 '20 11:06 avishniakov

Issue-Label Bot is automatically applying the labels:

Label Probability
kind/question 0.79

Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback! Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Jun 11 '20 11:06 issue-label-bot[bot]

Please refer to upstream issue: https://github.com/google/ml-metadata/issues/69

Bobgy avatar Aug 27 '21 05:08 Bobgy