<!here> I am trying to ingest data into datahub wi...
# ingestion
b
<!here> I am trying to ingest data into datahub with a special character in the dataset urn like urnlidataPlatform:abc/xyz . The schema platform is also given with the same name. The dataset is created after ingestion but when I go inside the dataset, I am getting the below error. Could someone help me to understand the reason for the error?
s
Hi @billowy-eye-48149. Can you please share the stacktrace for this error? My guess would be improper handling of
/
character but stacktrace would help to be sure.
b
Hi Kerem, Sorry for the late reply. I couldn't find any error for this from the logs. I am getting the error only in the UI.
s
@billowy-eye-48149 Without checking it from UI, I would try to first make sure if that dataset is registered into the MySQL and Elasticsearch
If it's successfully registered, we'll need to check the logs for
datahub-frontend
docker image (
docker logs datahub-frontend
if you're using Docker image)
b
@steep-airplane-62865 I checked mysql and elasticsearch and entries are made in both of them. I am using docker and there was no error returned in the docker logs from datahub-frontend. Please find the entry in elasticsearch below.
Copy code
{
  "took": 1,
  "timed_out": false,
  "_shards": {
    "total": 5,
    "successful": 5,
    "skipped": 0,
    "failed": 0
  },
  "hits": {
    "total": 1,
    "max_score": 3.3414474,
    "hits": [
      {
        "_index": "datasetdocument",
        "_type": "doc",
        "_id": "urn%3Ali%3Adataset%3A%28urn%3Ali%3Adataplatform%3Atestproject%2Ftestdataset%2Ctesttable1%2Cprod%29",
        "_score": 3.3414474,
        "_source": {
          "urn": "urn:li:dataset:(urn:li:dataPlatform:TestProject/TestDataset,TestTable1,PROD)",
          "browsePaths": [
            "/prod/testproject/testdataset/testtable1"
          ],
          "hasOwners": true,
          "origin": "PROD",
          "name": "TestTable1",
          "owners": [
            "manjeripadmakumari"
          ],
          "platform": "TestProject/TestDataset",
          "hasSchema": true
        }
      }
    ]
  }
}
s
I see. Thanks for reporting. I'd assume there is something on UI side which results in this ungraceful handling of uncommon platform name on the dataset URN. Can you please create an issue for this on Github? @microscopic-receptionist-23548 can help you debug further and resolve the issue.
b