dbx icon indicating copy to clipboard operation
dbx copied to clipboard

dbx destroy does not delete artefacts from dbfs

Open alanmazankiewicz opened this issue 2 years ago • 1 comments
trafficstars

Expected Behavior

Directory at <artifact_location>/<hash> should be deleted / empty

Current Behavior

Directory at <artifact_location>/<hash> contains wheel, config files, ...

Steps to Reproduce (for bugs)

dbx init my-proj dbx deploy test-proj-sample-etl <Check exact path to artifacts for this deployment (hash value), e.g. in workflow definition over UI> dbx destroy test-proj-sample-etl>

Your Environment

  • dbx version used: 0.8.9

alanmazankiewicz avatar Mar 13 '23 16:03 alanmazankiewicz

I think this is a bit related to my issue https://github.com/databrickslabs/dbx/issues/713, dbx creates a directory everytime you do a deployment but I wonder how it can keep track of all of this... My simple answer is that it doesn't, so it does not know what to destroy.

guillesd avatar Mar 29 '23 08:03 guillesd