Code Monkey home page Code Monkey logo

Comments (7)

bmdhacks avatar bmdhacks commented on August 23, 2024

I've never seen that before. What OS is this on?

On Mon, Apr 1, 2013 at 10:36 PM, Flume-patch-netease <
[email protected]> wrote:

When I start web UI and query the trace log, it throws a Unknown method
exception
Unsafe is a class in rt.jar. But I try all JDK such as JDk
7u17,openJDK7,JDK6u22,openJDK6 , I still cannot resolve this problem.
I wonder this
sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V In
which JDK version .

FAT [20130402-13:28:03.663] ZipkinWeb:
org.apache.thrift.TApplicationException: Internal error processing
getTraceSummariesByIds: 'java.lang.NoSuchMethodError:
sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V'
FAT [20130402-13:28:03.663] ZipkinWeb: at
org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.zipkin.gen.ZipkinQuery$FinagledClient.decodeResponse(ZipkinQuery.scala:5263)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.zipkin.gen.ZipkinQuery$FinagledClient$$anonfun$getTraceSummariesByIds$1.apply(ZipkinQuery.scala:5480)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.zipkin.gen.ZipkinQuery$FinagledClient$$anonfun$getTraceSummariesByIds$1.apply(ZipkinQuery.scala:5479)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:477)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:476)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$transform$1.apply(Future.scala:883)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$transform$1.apply(Future.scala:879)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$respondWithoutChaining$1.apply(Future.scala:868)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$respondWithoutChaining$1.apply(Future.scala:863)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$$anonfun$runqs$1.apply$mcV$sp(IVar.scala:174)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$LocalScheduler.run(IVar.scala:125)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$LocalScheduler.apply(IVar.scala:105)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar.runqs(IVar.scala:169)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar.set(IVar.scala:311)


Reply to this email directly or view it on GitHubhttps://github.com//issues/237
.

from zipkin.

netease-datastream avatar netease-datastream commented on August 23, 2024

I run on Linux
version is

Distributor ID:Debian
Description:Debian GNU/Linux 7.0 (wheezy)
Release:7.0
Codename:wheezy

At 2013-04-03 01:19:54,"Brian Degenhardt" [email protected] wrote:
I've never seen that before. What OS is this on?

On Mon, Apr 1, 2013 at 10:36 PM, Flume-patch-netease <
[email protected]> wrote:

When I start web UI and query the trace log, it throws a Unknown method
exception
Unsafe is a class in rt.jar. But I try all JDK such as JDk
7u17,openJDK7,JDK6u22,openJDK6 , I still cannot resolve this problem.
I wonder this
sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V In
which JDK version .

FAT [20130402-13:28:03.663] ZipkinWeb:
org.apache.thrift.TApplicationException: Internal error processing
getTraceSummariesByIds: 'java.lang.NoSuchMethodError:
sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V'
FAT [20130402-13:28:03.663] ZipkinWeb: at
org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.zipkin.gen.ZipkinQuery$FinagledClient.decodeResponse(ZipkinQuery.scala:5263)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.zipkin.gen.ZipkinQuery$FinagledClient$$anonfun$getTraceSummariesByIds$1.apply(ZipkinQuery.scala:5480)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.zipkin.gen.ZipkinQuery$FinagledClient$$anonfun$getTraceSummariesByIds$1.apply(ZipkinQuery.scala:5479)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:477)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:476)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$transform$1.apply(Future.scala:883)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$transform$1.apply(Future.scala:879)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$respondWithoutChaining$1.apply(Future.scala:868)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$respondWithoutChaining$1.apply(Future.scala:863)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$$anonfun$runqs$1.apply$mcV$sp(IVar.scala:174)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$LocalScheduler.run(IVar.scala:125)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$LocalScheduler.apply(IVar.scala:105)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar.runqs(IVar.scala:169)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar.set(IVar.scala:311)

¡ª
Reply to this email directly or view it on GitHubhttps://github.com//issues/237
.

¡ª
Reply to this email directly or view it on GitHub.

from zipkin.

bmdhacks avatar bmdhacks commented on August 23, 2024

I'm guessing there's a mismatch between the scala+jvm you're compiling with
versus the scala+jvm you're running with.

On Tue, Apr 2, 2013 at 7:05 PM, Flume-patch-netease <
[email protected]> wrote:

I run on Linux
version is

Distributor ID:Debian
Description:Debian GNU/Linux 7.0 (wheezy)
Release:7.0
Codename:wheezy

At 2013-04-03 01:19:54,"Brian Degenhardt" [email protected]
wrote:
I've never seen that before. What OS is this on?

On Mon, Apr 1, 2013 at 10:36 PM, Flume-patch-netease <
[email protected]> wrote:

When I start web UI and query the trace log, it throws a Unknown method
exception
Unsafe is a class in rt.jar. But I try all JDK such as JDk
7u17,openJDK7,JDK6u22,openJDK6 , I still cannot resolve this problem.
I wonder this
sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V In
which JDK version .

FAT [20130402-13:28:03.663] ZipkinWeb:
org.apache.thrift.TApplicationException: Internal error processing
getTraceSummariesByIds: 'java.lang.NoSuchMethodError:
sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V'
FAT [20130402-13:28:03.663] ZipkinWeb: at

org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.zipkin.gen.ZipkinQuery$FinagledClient.decodeResponse(ZipkinQuery.scala:5263)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.zipkin.gen.ZipkinQuery$FinagledClient$$anonfun$getTraceSummariesByIds$1.apply(ZipkinQuery.scala:5480)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.zipkin.gen.ZipkinQuery$FinagledClient$$anonfun$getTraceSummariesByIds$1.apply(ZipkinQuery.scala:5479)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:477)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:476)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$transform$1.apply(Future.scala:883)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$transform$1.apply(Future.scala:879)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.util.Promise$$anonfun$respondWithoutChaining$1.apply(Future.scala:868)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.util.Promise$$anonfun$respondWithoutChaining$1.apply(Future.scala:863)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$$anonfun$runqs$1.apply$mcV$sp(IVar.scala:174)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$LocalScheduler.run(IVar.scala:125)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$LocalScheduler.apply(IVar.scala:105)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar.runqs(IVar.scala:169)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar.set(IVar.scala:311)

¡ª
Reply to this email directly or view it on GitHub<
https://github.com/twitter/zipkin/issues/237>
.

¡ª

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/237#issuecomment-15813809
.

from zipkin.

netease-datastream avatar netease-datastream commented on August 23, 2024

I`m compiling and running on the same version

mysql scala version is
Scala code runner version 2.10.0 -- Copyright 2002-2012, LAMP/EPFL

I only run the command bin/web . Does it do compiling in this script or I should run sbt compile alone.

At 2013-04-03 10:48:53,"Brian Degenhardt" [email protected] wrote:
I'm guessing there's a mismatch between the scala+jvm you're compiling with
versus the scala+jvm you're running with.

On Tue, Apr 2, 2013 at 7:05 PM, Flume-patch-netease <
[email protected]> wrote:

I run on Linux
version is

Distributor ID:Debian
Description:Debian GNU/Linux 7.0 (wheezy)
Release:7.0
Codename:wheezy

At 2013-04-03 01:19:54,"Brian Degenhardt" [email protected]
wrote:
I've never seen that before. What OS is this on?

On Mon, Apr 1, 2013 at 10:36 PM, Flume-patch-netease <
[email protected]> wrote:

When I start web UI and query the trace log, it throws a Unknown method
exception
Unsafe is a class in rt.jar. But I try all JDK such as JDk
7u17,openJDK7,JDK6u22,openJDK6 , I still cannot resolve this problem.
I wonder this
sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V In
which JDK version .

FAT [20130402-13:28:03.663] ZipkinWeb:
org.apache.thrift.TApplicationException: Internal error processing
getTraceSummariesByIds: 'java.lang.NoSuchMethodError:
sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V'
FAT [20130402-13:28:03.663] ZipkinWeb: at

org.apache.thrift.TApplicationException.read(TApplicationException.java:108)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.zipkin.gen.ZipkinQuery$FinagledClient.decodeResponse(ZipkinQuery.scala:5263)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.zipkin.gen.ZipkinQuery$FinagledClient$$anonfun$getTraceSummariesByIds$1.apply(ZipkinQuery.scala:5480)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.zipkin.gen.ZipkinQuery$FinagledClient$$anonfun$getTraceSummariesByIds$1.apply(ZipkinQuery.scala:5479)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:477)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:476)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$transform$1.apply(Future.scala:883)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.util.Promise$$anonfun$transform$1.apply(Future.scala:879)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.util.Promise$$anonfun$respondWithoutChaining$1.apply(Future.scala:868)
FAT [20130402-13:28:03.663] ZipkinWeb: at

com.twitter.util.Promise$$anonfun$respondWithoutChaining$1.apply(Future.scala:863)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$$anonfun$runqs$1.apply$mcV$sp(IVar.scala:174)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$LocalScheduler.run(IVar.scala:125)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar$LocalScheduler.apply(IVar.scala:105)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar.runqs(IVar.scala:169)
FAT [20130402-13:28:03.663] ZipkinWeb: at
com.twitter.concurrent.IVar.set(IVar.scala:311)

¡ª
Reply to this email directly or view it on GitHub<
https://github.com/twitter/zipkin/issues/237>
.

¡ª

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHubhttps://github.com//issues/237#issuecomment-15813809
.


Reply to this email directly or view it on GitHub.

from zipkin.

trustin avatar trustin commented on August 23, 2024

@netease-datastream Are you using OpenJDK shipped by your distribution? In that case, using the latest OpenJDK or the Oracle JVM should fix the problem. A certain revision of OpenJDK was shipped with mistakenly removed unsafe operations.

from zipkin.

netease-datastream avatar netease-datastream commented on August 23, 2024

Thanks you very much
it works now.
Maybe it is my faults of set JDK version wrongly

At 2013-04-03 11:21:02,"Trustin Lee" [email protected] wrote:

@netease-datastream Are you using OpenJDK shipped by your distribution? In that case, using the latest OpenJDK or the Oracle JVM should fix the problem. A certain revision of OpenJDK was shipped with mistakenly removed unsafe operations.

¡ª
Reply to this email directly or view it on GitHub.

from zipkin.

netease-datastream avatar netease-datastream commented on August 23, 2024

I wonder if I can add a message annotation in the RPC method by finagle-zipkin?
I cannot get the tracer referrence in the RPC method because it is hidden by the Server of finagle.
I found the source code that tracer only exists in ThriftServerFramedCodec.

At 2013-04-03 11:21:02,"Trustin Lee" [email protected] wrote:

@netease-datastream Are you using OpenJDK shipped by your distribution? In that case, using the latest OpenJDK or the Oracle JVM should fix the problem. A certain revision of OpenJDK was shipped with mistakenly removed unsafe operations.

¡ª
Reply to this email directly or view it on GitHub.

from zipkin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.