jiazhai commented on issue #4269: Remove query parameter authoritative for 
partitions API
URL: https://github.com/apache/pulsar/pull/4269#issuecomment-493812543
 
 
   @liketic Seems the failed 
[tests](https://builds.apache.org/job/pulsar_precommit_java8/8990/) is related 
to this change:
   ```
   [[FATAL] A resource model has ambiguous (sub-)resource method for HTTP 
method PUT and input mime-types as defined by"@Consumes" and "@Produces" 
annotations at Java methods public void 
org.apache.pulsar.broker.admin.v1.NonPersistentTopics.createPartitionedTopic(java.lang.String,java.lang.String,java.lang.String,java.lang.String,int,boolean)
 and public void 
org.apache.pulsar.broker.admin.v1.PersistentTopics.createPartitionedTopic(java.lang.String,java.lang.String,java.lang.String,java.lang.String,int)
 at matching regular expression /([^/]+)/([^/]+)/([^/]+)/([^/]+)/partitions. 
These two methods produces and consumes exactly the same mime-types and 
therefore their invocation as a resource methods will always fail.; 
source='org.glassfish.jersey.server.model.RuntimeResource@6690b9fa']
        at 
org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:394)
        at 
org.glassfish.jersey.server.ApplicationHandler.lambda$initialize$1(ApplicationHandler.java:316)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:316)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:298)
        at 
org.glassfish.jersey.internal.Errors.processWithException(Errors.java:256)
        at 
org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:315)
        at 
org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:282)
        at 
org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:335)
        at 
org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:178)
        at 
org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:370)
        at javax.servlet.GenericServlet.init(GenericServlet.java:244)
        at 
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:670)
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to