Hello, i am new to datahub and i was trying to ing...
# ingestion
r
Hello, i am new to datahub and i was trying to ingest data(a local file) to http://localhost:9002/ but i am getting the following error. Can someone please help me.
Copy code
File "/Users/vn0d5ac/Library/Python/3.7/lib/python/site-packages/datahub/emitter/rest_emitter.py", line 94, in test_connection
    f"This version of {__package_name__} requires GMS v0.8.0 or higher"

ValueError: This version of acryl-datahub requires GMS v0.8.0 or higher
g
hey there! 9002 is for the frontend specifically
You probably want to try
:8080
🙂
r
For 8080 its working. But, i was trying for 9002 only, So that i can verify the data ingested. Will that be not possible?
b
You can verify by going to http://localhost:9002 in your browser
r
So, you mean post the data to 8080 and verify on http://localhost:9002. please let me know. @big-carpet-38439
b
Correct. You can verify by visiting http://localhost:9002 in your browser (ie. Google Chrome) to view the DataHub UI
Can you send the post?
r
I tried that (posting data to 8080 successfully) but i don't see any of that data on 9002. I am missing something ?
Copy code
source:
  type: "file"
  config:
    # Coordinates
    filename: "/Users/vn0d5ac/Documents/test_datahub1.json"

sink:
  type: "datahub-rest"
  config:
    server: "<http://localhost:8080>"
@big-carpet-38439
b
What is inside in test_datahub1.json
r
Thanks @big-carpet-38439 i can see the ingested data on the frontend UI now.