chenboat opened a new issue #7271: URL: https://github.com/apache/pinot/issues/7271
There is a well documented issued about the Reflection lib (**0.9.10 onward**) used in Pinot today having multi-threading issues. https://github.com/ronmamo/reflections/issues/81 We also encountered the same issue in production causing a percentage of our servers not able to start. The fix now is to revert to use **0.9.9** version of the lib. Or allow a server starts with the Swagger UI (which is less ideal). Our error trace: ``` Exception in thread "main" java.lang.IllegalStateException: zip file closed at java.util.zip.ZipFile.ensureOpen(ZipFile.java:686) at java.util.zip.ZipFile.access$200(ZipFile.java:60) at java.util.zip.ZipFile$ZipEntryIterator.hasNext(ZipFile.java:508) at java.util.zip.ZipFile$ZipEntryIterator.hasMoreElements(ZipFile.java:503) at java.util.jar.JarFile$JarEntryIterator.hasNext(JarFile.java:253) at java.util.jar.JarFile$JarEntryIterator.hasMoreElements(JarFile.java:262) at org.reflections.vfs.ZipDir$1$1.computeNext(ZipDir.java:30) at org.reflections.vfs.ZipDir$1$1.computeNext(ZipDir.java:26) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:141) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:136) at org.reflections.Reflections.scan(Reflections.java:243) at org.reflections.Reflections.scan(Reflections.java:202) at org.reflections.Reflections.<init>(Reflections.java:123) at io.swagger.jaxrs.config.BeanConfig.classes(BeanConfig.java:288) at io.swagger.jaxrs.config.BeanConfig.scanAndRead(BeanConfig.java:250) at io.swagger.jaxrs.config.BeanConfig.setScan(BeanConfig.java:231) at org.apache.pinot.server.starter.helix.AdminApiApplication.setupSwagger(AdminApiApplication.java:111) at org.apache.pinot.server.starter.helix.AdminApiApplication.start(AdminApiApplication.java:96) at org.apache.pinot.server.starter.helix.HelixServerStarter.start(HelixServerStarter.java:441) at com.uber.uPinot.starters.StartServer.main(StartServer.java:47) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org