You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/02/12 18:27:00 UTC
[jira] [Updated] (AVRO-4229) ipc StatsServer not working
[ https://issues.apache.org/jira/browse/AVRO-4229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated AVRO-4229:
---------------------------------
Labels: pull-request-available (was: )
> ipc StatsServer not working
> ---------------------------
>
> Key: AVRO-4229
> URL: https://issues.apache.org/jira/browse/AVRO-4229
> Project: Apache Avro
> Issue Type: Bug
> Affects Versions: 1.12.1
> Reporter: László Dénes Terjéki
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Trying to use example code from [TestStatsPluginAndServlet|https://github.com/apache/avro/blob/main/lang/java/ipc-jetty/src/test/java/org/apache/avro/ipc/jetty/TestStatsPluginAndServlet.java#L175] to check StatsServer regarding AVRO-4213 but the following exception shown:
> {code:java}
> [main] INFO org.eclipse.jetty.util.log - Logging initialized @333ms to org.eclipse.jetty.util.log.Slf4jLog[main] INFO org.eclipse.jetty.server.Server - jetty-9.4.6.v20170531[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@3023df74{/,null,AVAILABLE}[main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@5b12b668{HTTP/1.1,[http/1.1]}{0.0.0.0:7002}[main] INFO org.eclipse.jetty.server.Server - Started @382ms[main] INFO org.eclipse.jetty.server.Server - jetty-9.4.6.v20170531[main] INFO org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@2df3b89c{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}Exception in thread "main" java.lang.IllegalStateException: Multiple servlets map to path /: org.apache.avro.ipc.jetty.StaticServlet-477b4cdf[mapped:EMBEDDED:null],org.apache.avro.ipc.stats.StatsServlet-7770f470[mapped:EMBEDDED:null] at org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1430) at org.eclipse.jetty.servlet.ServletHandler.doStart(ServletHandler.java:153) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131) at org.eclipse.jetty.server.Server.start(Server.java:452) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.server.Server.doStart(Server.java:419) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.apache.avro.ipc.jetty.StatsServer.<init>(StatsServer.java:51) at org.apache.avro.ipc.jetty.TestStatsPluginAndServlet.main(TestStatsPluginAndServlet.java:192) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)