hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: NoSuchMethodError using zipkin with hbase 0.98.5
Date Wed, 08 Oct 2014 23:18:07 GMT
Here is the cause:

  Type 'org/apache/hadoop/hbase/trace/HBaseHTraceConfiguration' (current
frame, stack[1]) is not assignable to 'org/htrace/HTraceConfiguration'

Can you try changing the dependency in htrace-hbase/pom.xml to 0.98.5 :

    <hbase.version>2.0.0-SNAPSHOT</hbase.version>
Build hbase 0.98.5 locally by using its source tar ball.

In the future, please use Reply All.

Cheers

On Wed, Oct 8, 2014 at 2:40 PM, abhishek1015 <abhishek1015@gmail.com> wrote:

> Thanks Ted.
>
> Earlier I was not running "mvn install -DskipTests" command under hbase
> workspace as I am using the 0.98.5 binaries and there is no pom.xml in that
> directory.
>
> So, I cloned the hbase  and then run the above command in hbase directory,
> and then run "mvn package -DskipTests" command under htrace-hbase. I was
> able to create jar. However, I am able not able to start hbase after
> placing
> placing jar in hbase/lib. I see following error:
>
> I have also added this property in hbase-site.xml as per the instruction in
> htrace-hbase readme.
>
> <property>
>     <name>hbase.trace.spanreceiver.classes</name>
>     <value>org.htrace.impl.HBaseSpanReceiver</value>
>  </property>
>
> java.lang.VerifyError: Bad type on operand stack
> Exception Details:
>   Location:
>     org/htrace/impl/HBaseSpanReceiver.main([Ljava/lang/String;)V @19:
> invokevirtual
>   Reason:
>     Type 'org/apache/hadoop/hbase/trace/HBaseHTraceConfiguration' (current
> frame, stack[1]) is not assignable to 'org/htrace/HTraceConfiguration'
>   Current Frame:
>     bci: @19
>     flags: { }
> locals: { '[Ljava/lang/String;', 'org/htrace/impl/HBaseSpanReceiver' }
>     stack: { 'org/htrace/impl/HBaseSpanReceiver',
> 'org/apache/hadoop/hbase/trace/HBaseHTraceConfiguration' }
>   Bytecode:
>     0000000: bb00 4959 b700 4a4c 2bbb 004b 59b8 0016
>     0000010: b700 4cb6 004d 2bb8 004e 124f b200 50b8
>     0000020: 0051 4d14 0052 b800 542c b600 55b9 0056
>     0000030: 0100 4212 57b8 0058 3a05 1400 52b8 0054
>     0000040: 1259 2cb6 0055 b800 5a3a 0614 0052 b800
>     0000050: 5412 5bb8 0058 3a07 125c b800 5d14 0052
>     0000060: b800 5412 5eb8 005d 1907 b600 5f14 0052
>     0000070: b800 5419 06b6 005f 1400 52b8 0054 1905
>     00000a0: 3eb6 0064 b1
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:190)
>         at
>
> org.apache.hadoop.hbase.trace.SpanReceiverHost.loadSpanReceivers(SpanReceiverHost.java:87)
>         at
>
> org.apache.hadoop.hbase.trace.SpanReceiverHost.getInstance(SpanReceiverHost.java:59)
>         at
>
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:820)
>         at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:603)
>         at java.lang.Thread.run(Thread.java:745)
>
> Thanks
> Abhishek
>
>
>
>
> --
> View this message in context:
> http://apache-hbase.679495.n3.nabble.com/NoSuchMethodError-using-zipkin-with-hbase-0-98-5-tp4064831p4064880.html
> Sent from the HBase User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message