hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abhishek1015 <abhishek1...@gmail.com>
Subject NoSuchMethodError using zipkin with hbase 0.98.5
Date Tue, 07 Oct 2014 19:23:21 GMT
Hello everyone,

Once I copy the htrace-zipkin jar to hbase/lib/ directory, I see following
error in zookeeper log on hbase restart. I am using
http://hbase.apache.org/book/tracing.html to create zipkin jar. 

java.lang.NoSuchMethodError:
org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
        at
org.slf4j.impl.Log4jLoggerAdapter.info(Log4jLoggerAdapter.java:346)
        at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.save(FileTxnSnapLog.java:240)
        at
org.apache.zookeeper.server.ZooKeeperServer.takeSnapshot(ZooKeeperServer.java:292)
        at
org.apache.zookeeper.server.quorum.Learner.syncWithLeader(Learner.java:437)
        at
org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:82)
        at
org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:786)

This is most likely the version conflict.

I see slf4j-log4j12-1.6.4.jar jar in my hbase/lib/ directory and zipkin jar
also have some classes of slf4j package of 1.5.8 version.

Do any one know how to resolve such  conflict? 

Thanks
Abhishek



--
View this message in context: http://apache-hbase.679495.n3.nabble.com/NoSuchMethodError-using-zipkin-with-hbase-0-98-5-tp4064831.html
Sent from the HBase User mailing list archive at Nabble.com.

Mime
View raw message