melodic-ability-49840
07/19/2022, 3:49 AMdatahub delete --query "information_schema" --hard --include-removed
But, It doesn’t work with this error.
HTTPError: 401 Client Error: Unauthorized for url: <http://localhost:8080/entities?action=search>
[2022-07-19 03:22:34,201] INFO {datahub.entrypoints:177} - DataHub CLI version: 0.8.40 at /home/ec2-user/datahub/venv/lib64/python3.7/site-packages/datahub/__init__.py
[2022-07-19 03:22:34,201] INFO {datahub.entrypoints:180} - Python version: 3.7.10 (default, Jun 3 2021, 00:02:01)
[GCC 7.3.1 20180712 (Red Hat 7.3.1-13)] at /home/ec2-user/datahub/venv/bin/python3 on Linux-5.10.109-104.500.amzn2.x86_64-x86_64-with-glibc2.2.5
[2022-07-19 03:22:34,201] INFO {datahub.entrypoints:182} - GMS config {}
In my opinion, this error is occured from How I started datahub on my EC2 instance. When I started datahub, I modified docker-compose-without-neo4j.quickstart.yml for enable Personal Access Tokens. I referred to below content.
you have to create your own yml file - ( copy the one that says docker-compose-without-neo4j.quickstart.yml under docker/quickstart folder and edit it with METADATA_SERVICE_AUTH_ENABLED=true under both datahub-frontend-reacu and datahub-gms ) then run the quickstart command with the docker file you created. datahub docker quickstart --quickstart-compose-file ./yourdockerfile.yml
https://datahubspace.slack.com/archives/C029A3M079U/p1655101380628779
In this situation, What should I do to solve this problem? I’d appreciate your help.big-carpet-38439
07/20/2022, 10:23 PMbig-carpet-38439
07/20/2022, 10:23 PMbig-carpet-38439
07/20/2022, 10:23 PMmelodic-ability-49840
07/21/2022, 6:01 AMmelodic-ability-49840
07/21/2022, 6:06 AMdocker-compose-without-neo4j.quickstart.yml
from datahub github and added METADATA_SERVICE_AUTH_ENABLED=true
to this file. And I started datahub like this ->`datahub docker quickstart -- quickstart-compose-file./yourdockerfile.yml`.melodic-ability-49840
07/21/2022, 6:07 AMingest
and delete
metadata after this operation.melodic-ability-49840
07/21/2022, 6:08 AM