Hello everyone, I installed datahub cli and ingest...
# troubleshoot
s
Hello everyone, I installed datahub cli and ingested data from big query, i. want to extract the tags available in a dataset. For doing so, I added a tag on dataset from the UI. and used below api to fetch the tags and other aspects of the dataset but it shows
Copy code
error: [HTTP Status:404]: No root resource defined for path '/prod'
whereas when I try to search the tag , it gets correct result. urn that I am using is this : urnlidataset:(urnlidataPlatform:bigquery,temp,PROD) can anyone help me, point out what am I missing here, seems like i need to set some environment variable to point it to correct directory but i am not sure which directory it should point to.
h
@steep-furniture-57251 which api did you use ? I think you forgot to add those details.
s
@hundreds-photographer-13496 I have used the below API to retrieve the latest aspects of the dataset.
Copy code
curl --header 'X-RestLi-Protocol-Version: 2.0.0' '<http://localhost:8080/entitiesV2/urn%3Ali%3Adataset%3A%28urn%3Ali%3AdataPlatform%3Ahdfs%2CSampleHdfsDataset%2CPROD%29>'
in reponse to this API i can only see 3 aspects : 1. browsePaths 2. datasetKey 3. dataPlatformInstance inside browsePaths, where it stores the path, it throws error that "No root resource defined for path '/prod'.
h
Hey, so from what I understand, you have ingested data from bigquery source and are able to see the dataset on UI and it also tags attached to it. Then you are trying to use entitiesV2 API with that dataset's urn to get all tags, however tags aspect is not returned. Is that right ?
Did not understand when exactly do you get this error
No root resource defined for path '/prod'.
? Are you trying to hit browsePath via curl ? I don't think it works that way.