Hi I'm trying to ingest hive metadata from UI. I ...
# all-things-deployment
c
Hi I'm trying to ingest hive metadata from UI. I have started hive server on 10000 port, and in UI I have given host as localhost:10000 , but it's failing to ingest with error as could not connect to any of ‘127.0.0.1’, 10000 Am I missing anything here ?
b
you're referencing port 10000 in the container itself, not hive. perhaps host.docker.internal:10000 work for you?
c
I have started the hive server on that port and trying to connect the datahub for ingestion from UI
Not using docker for running hive , I have installed hive locally in laptop and started the hive server and running create table and queries from the hive beeline
b
when you run UI ingestion, the port that you're referencing is inside the UI ingestion container. hence you need to point to the host's port instead
c
I didn't get it clearly, can you please elaborate? The UI ingestion container should be able to connect to the process running outside on some port right ? Which is 10000 in this case
So if I want to connect to hive running outside the container how to do that ?
b
does
host.docker.internal:10000
work?
c
Yeah it works
This property means that I'm telling datahub to connect to port 10000 outside the container ?
Let's say the hive is running on some Linux machine , how to configure in that case ?
b
then use the ip:port for external connections
host.docker.internal:10000 refers to the host's port
c
Host u mean the local setup right , where the datahub is launched
b
yes
c
Got it
Thanks a lot @better-orange-49102 . 👍