clean-art-94242
06/10/2021, 12:04 PMdatahub ingest -c ./examples/recipes/file_to_datahub_rest.yml
I receive a 500 error: Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘datahub.metadata_aspect_v2’ doesn’t exist.
If I create the table manually and run the ingest again it does seem to work:
datahub ingest -c ./examples/recipes/file_to_datahub_rest.yml
[2021-06-10 14:02:29,579] INFO {datahub.entrypoints:68} - Using config: {'source': {'type': 'file', 'config': {'filename': './examples/mce_files/single_mce.json'}}, 'sink': {'type': 'datahub-rest', 'config': {'server': '<https://datahub-gms-test.data.dpgmedia.cloud>'}}}
[2021-06-10 14:02:29,876] INFO {datahub.ingestion.run.pipeline:44} - sink wrote workunit file://./examples/mce_files/single_mce.json:0
Source report:
{'failures': {}, 'warnings': {}, 'workunit_ids': ['file://./examples/mce_files/single_mce.json:0'], 'workunits_produced': 1}
Sink report:
{'failures': [], 'records_written': 1, 'warnings': []}
Pipeline finished successfully
But I don’t see any rows in the metadata_aspect_v2
table?
Ingesting the same to datahub hosted in a local docker environment does work: entry is added to that table.
Any ideas?clean-art-94242
06/10/2021, 1:42 PMbig-carpet-38439
06/10/2021, 4:37 PM