numerous-account-62719
08/08/2022, 4:56 AMgifted-knife-16120
08/08/2022, 5:55 AMenv
https://datahubproject.io/docs/how/delete-metadata/#delete-using-broader-filtersnumerous-account-62719
08/08/2022, 5:56 AMgifted-knife-16120
08/08/2022, 5:57 AMdatahub delete --env DEV --entity_type dataset
this command will delete all in dev
environment. depends on your configurationnumerous-account-62719
08/08/2022, 5:58 AMgifted-knife-16120
08/08/2022, 5:58 AMdatahub delete --entity_type container --platform oracle
? how about this?
you can get the urn
in the URL. go to the UI and click one dataset from oracle, you can see the platform and env.gifted-knife-16120
08/08/2022, 5:59 AMnumerous-account-62719
08/08/2022, 6:05 AMgifted-knife-16120
08/08/2022, 6:06 AMnumerous-account-62719
08/08/2022, 6:06 AMgifted-knife-16120
08/08/2022, 6:06 AMgifted-knife-16120
08/08/2022, 6:06 AMnumerous-account-62719
08/08/2022, 6:07 AMgifted-knife-16120
08/08/2022, 6:08 AM.datahubenv
gms:
server: <https://datahub_cloud_url:8080>
token: null
gifted-knife-16120
08/08/2022, 6:08 AMserver:
should be your datahub url, cannot localhostnumerous-account-62719
08/08/2022, 6:10 AMgifted-knife-16120
08/08/2022, 6:11 AMnumerous-account-62719
08/08/2022, 6:13 AMgifted-knife-16120
08/08/2022, 6:14 AMdatahub delete --urn "li:dataPlatform:oracle" --hard
numerous-account-62719
08/08/2022, 6:16 AMgifted-knife-16120
08/08/2022, 6:17 AMpython3 -m pip install --upgrade pip wheel setuptools
python3 -m pip uninstall datahub acryl-datahub || true # sanity check - ok if it fails
python3 -m pip install --upgrade acryl-datahub
datahub version
run this in your local, inDocuments folder should be finegifted-knife-16120
08/08/2022, 6:17 AMnumerous-account-62719
08/08/2022, 6:19 AMgifted-knife-16120
08/08/2022, 6:20 AM.datahubenv
should appear in Documentsnumerous-account-62719
08/08/2022, 6:21 AMgifted-knife-16120
08/08/2022, 6:21 AMgifted-knife-16120
08/08/2022, 6:22 AM<http://localhost:8080>
based on your error messagenumerous-account-62719
08/08/2022, 6:23 AMgifted-knife-16120
08/08/2022, 6:23 AMincalculable-ocean-74010
08/08/2022, 8:53 AM.datahubenv
in your home directoryincalculable-ocean-74010
08/08/2022, 8:53 AMincalculable-ocean-74010
08/08/2022, 8:54 AM~/.datahubenv
incalculable-ocean-74010
08/08/2022, 8:54 AMgms:
server: http://<datahub frontend url>:8080