Hello, I configured pinot in trino in minikube and...
# general
c
Hello, I configured pinot in trino in minikube and tried to query data from pinot table through Trino but I'm getting below error. Here is the pinot config in the k8s configmap for Trino.
Copy code
pinot.properties: |
    connector.name=pinot
    pinot.controller-urls=pinot-controller-external.pinot-quickstart.svc.cluster.local:9000
Below is the query used
Copy code
select * from pinot.default.transcript limit 4
v
Hi , Are you running on docker container ? I see a connection refused on 8090 . Inside a docker container the
localhost
and
127.0.0.1
refer to the container itself. In order to access the host machine running dockerd with your container you must refer to the host by its public hostname/IP as if it was another machine on the network. Are you running of a docker ? Inside a docker container the
c
Hi Vibhor, I'm running both trino and pinot in minikube. I provided the pinot controller URL this way
pinot.controller-urls=pinot-controller-external.pinot-quickstart.svc.cluster.local:9000
I never mentioned 8090 in the pinot.properties in trino configmap but I still see it in error logs. Also, there is no pinot service using 8090 port
Caused by: <http://io.grpc.netty.shaded.io|io.grpc.netty.shaded.io>.netty.channel.AbstractChannel.AnnotatedConnectException: finishConnect(..) failed: Connection refused: pinot-server-1.pinot-server-headless.pinot-quickstart.svc.cluster.local/172.17.0.4:8090
Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused