When I open the pinot controller web UI it becomes...
# troubleshooting
a
When I open the pinot controller web UI it becomes visible very briefly and then goes blank. I see a bunch of warnings in the controller logs, are these relevant?
Copy code
2021/02/11 14:33:10.615 WARN [Reflections] [main] could not get type for name org.eclipse.jetty.npn.NextProtoNego$ClientProvider from any class loader
org.reflections.ReflectionsException: could not get type for name org.eclipse.jetty.npn.NextProtoNego$ClientProvider
        at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:390) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.reflections.Reflections.expandSuperTypes(Reflections.java:381) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.reflections.Reflections.<init>(Reflections.java:126) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:276) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:240) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:221) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.controller.api.ControllerAdminApiApplication.setupSwagger(ControllerAdminApiApplication.java:154) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.controller.api.ControllerAdminApiApplication.start(ControllerAdminApiApplication.java:128) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.controller.ControllerStarter.setUpPinotController(ControllerStarter.java:416) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.controller.ControllerStarter.start(ControllerStarter.java:287) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.tools.service.PinotServiceManager.startController(PinotServiceManager.java:116) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.tools.service.PinotServiceManager.startRole(PinotServiceManager.java:91) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.tools.admin.command.StartServiceManagerCommand.lambda$startBootstrapServices$0(StartServiceManagerCommand.java:234) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.tools.admin.command.StartServiceManagerCommand.startPinotService(StartServiceManagerCommand.java:286) [pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.tools.admin.command.StartServiceManagerCommand.startBootstrapServices(StartServiceManagerCommand.java:233) [pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]       
        at org.apache.pinot.tools.admin.command.StartServiceManagerCommand.execute(StartServiceManagerCommand.java:183) [pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.tools.admin.command.StartControllerCommand.execute(StartControllerCommand.java:130) [pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.tools.admin.PinotAdministrator.execute(PinotAdministrator.java:154) [pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        at org.apache.pinot.tools.admin.PinotAdministrator.main(PinotAdministrator.java:166) [pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
Caused by: java.lang.ClassNotFoundException: org.eclipse.jetty.npn.NextProtoNego$ClientProvider
        at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) ~[?:?]
        at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
        at org.reflections.ReflectionUtils.forName(ReflectionUtils.java:388) ~[pinot-all-0.6.0-jar-with-dependencies.jar:0.6.0-bb646baceafcd9b849a1ecdec7a11203c7027e21]
        ... 18 more
I'm running with
-Dplugins.include=pinot-s3
x
i think it’s not relevant to plugin, this warning should be ignorable. I saw it when open the swagger ui
is this java 8 or 11
a
The controller is java 11
I have the server running java 8 though, because I couldn't get it working with java 11
x
got it, I will double check , meanwhile can you try java 8?
also I think the bin is built by java8 so runtime 11 might cause that issue. you can also try to build from src with java11
or just try the java11 docker image
a
Ok thanks -- I'll try the docker image
I actually see the same issue running with Java 8, btw
x
oh? is it bin file downloaded
I just checked the latest master branch, that works fine
a
I'm running
apache-pinot-incubating-0.6.0-bin
Is running from master more stable?
x
there is just more fixes there but I don’t think any UI change has been made from 0.6.0
I’ve tried 0.6.0-bin, it works on my side
i tried:
bin/pinot-admin.sh QuickStart -type batch
hmm, I also tried java11, it also works
I’m running from my own mac though
have you tried a different browser
a
I'm just confused because it was working before and then I changed the configuration options to include s3 and it stopped working. I'm using google chrome and I tried safari too
x
I will check on that
a
I'm still running into this error, any ideas?
I tried building from source with Java 11, I have the same issue
Is there any other diagnostic information I could provide to help out?
x
can you also provide your os and maven version
I’ve tried the jdk11 image:
Copy code
docker run \
    --network=pinot-demo \
    --name pinot-quickstart \
    -p 9000:9000 \
    -d apachepinot/pinot:0.7.0-SNAPSHOT-600b91b9a-20210217-jdk11 QuickStart \
    -type batch
image
apachepinot/pinot:0.6.0-jdk11
also works
just fyi: this is the docker file I’m using to build the image: https://github.com/apache/incubator-pinot/blob/master/docker/images/pinot/Dockerfile
a
Copy code
$ java -version
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-post-Debian-1deb10u2)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-post-Debian-1deb10u2, mixed mode, sharing)
Copy code
$ mvn -version
Apache Maven 3.6.0
Maven home: /usr/share/maven
Java version: 11.0.9.1, vendor: Debian, runtime: /usr/lib/jvm/java-11-openjdk-amd64
I figured this out, very silly issue: my controller was configured with a different cluster name than all the other nodes
Not sure why that made the web ui break
x
hmm i see
so you start just controller?
then it’s a cluster just contains controller, it might be ui bugs of failed calls or parsing error
a
Heh, I guess in a way, yes
I started zookeeper, controller, broker, server, and kafka, but the controller had a different cluster name
So yeah, I guess just the controller 😛
😛 1
🙏 1