pinot-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-pinot] jackjlli commented on issue #5046: Re-design the broker routing
Date Wed, 26 Feb 2020 00:19:20 GMT
jackjlli commented on issue #5046: Re-design the broker routing
URL: https://github.com/apache/incubator-pinot/pull/5046#issuecomment-591159606
 
 
   This PR brings in a bug when adding/updating table config. 
   Here is the exception log:
   ```
   com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Cannot construct instance
of `org.apache.pinot.common.config.RoutingConfig`, problem: Should never call `set()` on setterless
property ('segmentPrunerTypes')
    at [Source: (String)"{"routingTableBuilderName":"PartitionAwareOffline","routingTableBuilderOptions":{},"instanceSelectorType":null,"segmentPrunerTypes":[]}";
line: 1, column: 135]
           at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67)
~[jackson-databind-2.9.8.jar:2.9.8]
           at com.fasterxml.jackson.databind.DeserializationContext.instantiationException(DeserializationContext.java:1608)
~[jackson-databind-2.9.8.jar:2.8.3]
           at com.fasterxml.jackson.databind.DeserializationContext.handleInstantiationProblem(DeserializationContext.java:1073)
~[jackson-databind-2.9.8.jar:2.8.3]
           at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.wrapInstantiationProblem(BeanDeserializerBase.java:1754)
~[jackson-databind-2.9.8.jar:2.9.8]
           at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:490)
~[jackson-databind-2.9.8.jar:2.9.8]
           at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromObjectUsingNonDefault(BeanDeserializerBase.java:1287)
~[jackson-databind-2.9.8.jar:2.9.8]
           at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:326)
~[jackson-databind-2.9.8.jar:2.9.8]
           at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:159)
~[jackson-databind-2.9.8.jar:2.9.8]
           at com.fasterxml.jackson.databind.ObjectReader._bindAndClose(ObjectReader.java:1611)
~[jackson-databind-2.9.8.jar:2.8.3]
           at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:1219)
~[jackson-databind-2.9.8.jar:2.8.3]
           at org.apache.pinot.spi.utils.JsonUtils.stringToObject(JsonUtils.java:53) ~[pinot-spi-0.2.1176.jar:0.3.0-SNAPSHOT-4779341d1a4e0312efe342ffd59f6266695029a5]
           at org.apache.pinot.common.config.TableConfig.fromZnRecord(TableConfig.java:287)
~[pinot-common-0.2.1176.jar:0.3.0-SNAPSHOT-4779341d1a4e0312efe342ffd59f6266695029a5]
           at org.apache.pinot.common.metadata.ZKMetadataProvider.getTableConfig(ZKMetadataProvider.java:215)
~[pinot-common-0.2.1176.jar:0.3.0-SNAPSHOT-4779341d1a4e0312efe342ffd59f6266695029a5]
           at org.apache.pinot.common.metadata.ZKMetadataProvider.getOfflineTableConfig(ZKMetadataProvider.java:225)
~[pinot-common-0.2.1176.jar:0.3.0-SNAPSHOT-4779341d1a4e0312efe342ffd59f6266695029a5]
           at org.apache.pinot.controller.helix.core.PinotHelixResourceManager.getOfflineTableConfig(PinotHelixResourceManager.java:1996)
~[pinot-controller-0.2.1176.jar:0.3.0-SNAPSHOT-4779341d1a4e0312efe342ffd59f6266695029a5]
           at org.apache.pinot.controller.api.resources.PinotTableRestletResource.listTableConfigs(PinotTableRestletResource.java:174)
~[pinot-controller-0.2.1176.jar:?]
           at org.apache.pinot.controller.api.resources.PinotTableRestletResource.alterTableStateOrListTableConfig(PinotTableRestletResource.java:203)
~[pinot-controller-0.2.1176.jar:?]
           at sun.reflect.GeneratedMethodAccessor235.invoke(Unknown Source) ~[?:?]
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[?:1.8.0_172]
           at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_172]
           at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52)
~[jersey-server-2.28.jar:?]
           at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:124)
[jersey-server-2.28.jar:?]
           at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:167)
[jersey-server-2.28.jar:?]
           at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:219)
[jersey-server-2.28.jar:?]
           at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:79)
[jersey-server-2.28.jar:?]
           at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:469)
[jersey-server-2.28.jar:?]
           at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:391)
[jersey-server-2.28.jar:?]
           at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:80)
[jersey-server-2.28.jar:?]
           at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:253) [jersey-server-2.28.jar:?]
           at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) [jersey-common-2.28.jar:?]
           at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) [jersey-common-2.28.jar:?]
           at org.glassfish.jersey.internal.Errors.process(Errors.java:292) [jersey-common-2.28.jar:?]
           at org.glassfish.jersey.internal.Errors.process(Errors.java:274) [jersey-common-2.28.jar:?]
           at org.glassfish.jersey.internal.Errors.process(Errors.java:244) [jersey-common-2.28.jar:?]
           at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:265)
[jersey-common-2.28.jar:?]
           at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:232) [jersey-server-2.28.jar:?]
           at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:679)
[jersey-server-2.28.jar:?]
           at org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:353)
[jersey-container-grizzly2-http-2.28.jar:?]
           at org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:200) [grizzly-http-server-2.4.4.jar:2.4.4]
           at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:569)
[grizzly-framework-2.4.4.jar:2.4.4]
           at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:549)
[grizzly-framework-2.4.4.jar:2.4.4]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]
   Caused by: java.lang.UnsupportedOperationException: Should never call `set()` on setterless
property ('segmentPrunerTypes')
           at com.fasterxml.jackson.databind.deser.impl.SetterlessProperty.set(SetterlessProperty.java:146)
~[jackson-databind-2.9.8.jar:2.9.8]
           at com.fasterxml.jackson.databind.deser.impl.PropertyValue$Regular.assign(PropertyValue.java:62)
~[jackson-databind-2.9.8.jar:2.9.8]
           at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:204)
~[jackson-databind-2.9.8.jar:2.9.8]
           at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:488)
~[jackson-databind-2.9.8.jar:2.9.8]
           ... 37 more
   ```

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Mime
View raw message