安装twitter zipkin时出现问题

时间:2014-02-04 11:47:16

标签: scala thrift finagle twitter-finagle zipkin

我尝试按照给定的步骤(https://github.com/twitter/zipkin/blob/master/doc/install.md)安装zipkin,当我在网络浏览器上访问http://localhost:8080/时,而不是zipkin UI,它会给出,< / p>

*Channel Exception* at remote address: `localhost/127.0.0.1:9411`


com.twitter.finagle.NoStacktrace(Unknown Source) 

并在查询终端上发出错误。

[error] FAT [20140204-16:37:05.539] ZipkinQuery: A server service  threw an exception

[error] FAT [20140204-16:37:05.539] ZipkinQuery: org.apache.thrift.transport.TTransportException: Cannot read. Remote side has closed. Tried to read 33554433 bytes, but only got 110 bytes.
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:354)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:215)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.thrift.ThriftServerTracingFilter$$anonfun$apply$2.apply(ThriftServerFramedCodec.scala:216)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.thrift.ThriftServerTracingFilter$$anonfun$apply$2.apply(ThriftServerFramedCodec.scala:150)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.tracing.Trace$.unwind(Trace.scala:183)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.thrift.ThriftServerTracingFilter.apply(ThriftServerFramedCodec.scala:148)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.thrift.ThriftServerTracingFilter.apply(ThriftServerFramedCodec.scala:123)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.Filter$$anon$5.apply(Filter.scala:52)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.Filter$$anon$2.apply(Filter.scala:69)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.Service$$anon$1.apply(Service.scala:14)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.filter.MkJvmFilter$$anon$1.apply(JvmFilter.scala:29)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.Filter$$anon$5$$anon$1.apply(Filter.scala:53)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.tracing.TracingFilter$$anonfun$apply$1.apply(TracingFilter.scala:18)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.tracing.TracingFilter$$anonfun$apply$1.apply(TracingFilter.scala:16)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.tracing.Trace$.unwind(Trace.scala:183)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.tracing.TracingFilter.apply(TracingFilter.scala:16)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.Filter$$anon$5$$anon$1.apply(Filter.scala:53)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.filter.MonitorFilter$$anonfun$apply$1.apply(MonitorFilter.scala:16)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.finagle.filter.MonitorFilter$$anonfun$apply$1.apply(MonitorFilter.scala:16)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Future$$anonfun$monitored$1.apply$mcV$sp(Future.scala:92)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Monitor$$anonfun$apply$1.apply$mcV$sp(Monitor.scala:38)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Monitor$$anonfun$apply$1.apply(Monitor.scala:38)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Monitor$$anonfun$apply$1.apply(Monitor.scala:38)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Monitor$$anonfun$using$1.apply(Monitor.scala:103)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Monitor$.restoring(Monitor.scala:110)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Monitor$.using(Monitor.scala:101)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Monitor$class.apply(Monitor.scala:37)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Monitor$$anon$1.apply(Monitor.scala:141)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:     at com.twitter.util.Future$.monitored(Future.scala:91)
[error] FAT [20140204-16:37:05.539] ZipkinQuery:

 (...more...)

可以请任何人帮我解决这个问题吗?

1 个答案:

答案 0 :(得分:1)

这是因为没有运行查询服务器的实例。

我正在重写中,这将简化所有这一切。在此之前,您需要启动查询服务器。