com.metamx.common.RE: Failure getting results from[http://uve-node128:8084/druid/v2/] because of [Invalid type marker byte 0x3c for expected value token at [Source: java.io.SequenceInputStream@98fcc5a; line: -1, column: 1]]


Samebug tips

Check if you forgot to set the "data" field inside your request. If you did set it, check if it's being serialized before sending, and if it's being serialized the right way.


4 months ago
Expert tip

You're inputing information in a way the Json Parser can't understand. This page might enlighten you a little: https://goo.gl/g5wrvy


7 months ago
Expert tip

Solutions on the web

Solution icon of googlegroups
via Google Groups by James Tang, 4 months ago
Failure getting results from[http://uve-node128:8084/druid/v2/] because of [Invalid type marker byte 0x3c for expected value token at [Source: java.io.SequenceInputStream@98fcc5a; line: -1, column: 1]]

Solution icon of github
Failure getting results from[http://bunker.local:8083/druid/v2/] because of [Invalid type marker byte 0x3c for expected value token at [Source: java.io.SequenceInputStream@33cb1809; line: -1, column: 1]]

Solution icon of googlegroups
via Google Groups by Amy Troschinetz, 1 year ago
Failure getting results from[http://10.71.179.186:8080/druid/v2/]

Stack trace

com.metamx.common.RE: Failure getting results 
from[http://uve-node128:8084/druid/v2/] because of [Invalid type marker 
byte 0x3c for expected value token
 at [Source: java.io.SequenceInputStream@98fcc5a; line: -1, column: 1]]
	at io.druid.client.DirectDruidClient$JsonParserIterator.init(DirectDruidClient.java:497)[druid-server-0.9.0.jar:0.9.0]
	at io.druid.client.DirectDruidClient$JsonParserIterator.hasNext(DirectDruidClient.java:441)[druid-server-0.9.0.jar:0.9.0]
	at com.metamx.common.guava.BaseSequence.makeYielder(BaseSequence.java:103)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.BaseSequence.toYielder(BaseSequence.java:81)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.MappedSequence.toYielder(MappedSequence.java:46)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.MergeSequence$2.accumulate(MergeSequence.java:66)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.MergeSequence$2.accumulate(MergeSequence.java:62)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.YieldingAccumulators$1.accumulate(YieldingAccumulators.java:32)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.BaseSequence.makeYielder(BaseSequence.java:104)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.BaseSequence.toYielder(BaseSequence.java:81)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.BaseSequence.accumulate(BaseSequence.java:67)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.MergeSequence.toYielder(MergeSequence.java:59)[java-util-0.27.7.jar:?]
	at com.metamx.common.guava.LazySequence.toYielder(LazySequence.java:43)[java-util-0.27.7.jar:?]
	at io.druid.query.RetryQueryRunner$1.toYielder(RetryQueryRunner.java:105)[druid-processing-0.9.0.jar:0.9.0]
	at com.metamx.common.guava.YieldingSequenceBase.accumulate(YieldingSequenceBase.java:34)[java-util-0.27.7.jar:?]
	at io.druid.query.groupby.GroupByQueryQueryToolChest.makeIncrementalIndex(GroupByQueryQueryToolChest.java:295)[druid-processing-0.9.0.jar:0.9.0]
	at io.druid.query.groupby.GroupByQueryQueryToolChest.mergeGroupByResults(GroupByQueryQueryToolChest.java:239)[druid-processing-0.9.0.jar:0.9.0]
	at io.druid.query.groupby.GroupByQueryQueryToolChest.access$000(GroupByQueryQueryToolChest.java:85)[druid-processing-0.9.0.jar:0.9.0]
	at io.druid.query.groupby.GroupByQueryQueryToolChest$3.run(GroupByQueryQueryToolChest.java:134)[druid-processing-0.9.0.jar:0.9.0]
	at io.druid.query.FinalizeResultsQueryRunner.run(FinalizeResultsQueryRunner.java:103)[druid-processing-0.9.0.jar:0.9.0]
	at io.druid.query.CPUTimeMetricQueryRunner.run(CPUTimeMetricQueryRunner.java:72)[druid-processing-0.9.0.jar:0.9.0]
	at io.druid.query.BaseQuery.run(BaseQuery.java:151)[druid-processing-0.9.0.jar:0.9.0]
	at io.druid.query.BaseQuery.run(BaseQuery.java:146)[druid-processing-0.9.0.jar:0.9.0]
	at io.druid.server.QueryResource.doPost(QueryResource.java:159)[druid-server-0.9.0.jar:0.9.0]
	at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)[?:?]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.7.0_75]
	at java.lang.reflect.Method.invoke(Method.java:606)[?:1.7.0_75]
	at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[jersey-server-1.19.jar:1.19]
	at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[jersey-servlet-1.19.jar:1.19]
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[jersey-servlet-1.19.jar:1.19]
	at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[jersey-servlet-1.19.jar:1.19]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[javax.servlet-api-3.1.0.jar:3.1.0]
	at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:278)[guice-servlet-4.0-beta.jar:?]
	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:268)[guice-servlet-4.0-beta.jar:?]
	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:180)[guice-servlet-4.0-beta.jar:?]
	at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:93)[guice-servlet-4.0-beta.jar:?]
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85)[guice-servlet-4.0-beta.jar:?]
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120)[guice-servlet-4.0-beta.jar:?]
	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:132)[guice-servlet-4.0-beta.jar:?]
	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:129)[guice-servlet-4.0-beta.jar:?]
	at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:206)[guice-servlet-4.0-beta.jar:?]
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:129)[guice-servlet-4.0-beta.jar:?]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)[jetty-servlets-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:364)[jetty-servlets-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[jetty-servlet-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-servlet-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.Server.handle(Server.java:497)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)[jetty-server-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[jetty-io-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:620)[jetty-util-9.2.5.v20141112.jar:9.2.5.v20141112]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:540)[jetty-util-9.2.5.v20141112.jar:9.2.5.v20141112]
	at java.lang.Thread.run(Thread.java:745)[?:1.7.0_75]
Caused by: com.fasterxml.jackson.core.JsonParseException: Invalid type 
marker byte 0x3c for expected value token
 at [Source: java.io.SequenceInputStream@98fcc5a; line: -1, column: 1]
	at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1419)[jackson-core-2.4.6.jar:2.4.6]
	at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:508)[jackson-core-2.4.6.jar:2.4.6]
	at com.fasterxml.jackson.dataformat.smile.SmileParser.nextToken(SmileParser.java:688)[jackson-dataformat-smile-2.4.6.jar:2.4.6]
	at io.druid.client.DirectDruidClient$JsonParserIterator.init(DirectDruidClient.java:479)[druid-server-0.9.0.jar:0.9.0]
	... 71 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Once, 9 months ago
Once, 2 months ago
Once, 8 months ago
Once, 11 months ago
412 times, 1 week ago
113 more bugmates