I want to test Pinot. I created a container using:...
# troubleshooting
d
I want to test Pinot. I created a container using: docker run --name apachepinot -p 2123:2123 -p 9000:9000 -p 8000:8000 -p 7050:7050 -p 6000:6000 apachepinot/pinot:latest QuickStart -type batch Then I tried to connect using JAR and URL pinot-java-client-1.2.0-sharded.jar jdbc:pinot://localhost:9000 but I got null connection. What is wrong?
m
Are you able to launch the UI and access query console
d
The query console works. I tried to execute this:
CREATE TABLE my_table ( id INT, name STRING );
and it fails with: Encountered "" at line 1, column 1.
m
Pinot java client is for rest api call for queries I think, not jdbc.
d
Thank you. This did help. I switched pinot-jdbc-client-1.2.0-shaded.jar . Now I get exception org.apache.pinot.client.PinotClientException: java.util.concurrent.ExecutionException: java.net.ConnectException: Connection refused: getsockopt: localhost/[00000001]80.
Does apachepinot require a username/password? Which is the default?