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 Tue, 07 Oct 2014 22:19:14 GMT
Dependency on slf4j 1.5.8 comes from:

[INFO] +- org.htrace:htrace-core:jar:3.0.4:provided
...
[INFO] +- org.apache.thrift:libthrift:jar:0.9.0:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:1.5.8:compile

You can add an exclusion rule for htrace-core dependency so that transitive
dependency on slf4j is skipped.

Cheers

On Tue, Oct 7, 2014 at 1:31 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> Adding Masatake who has intimate knowledge on this subject.
>
> On Tue, Oct 7, 2014 at 12:37 PM, abhishek1015 <abhishek1015@gmail.com>
> wrote:
>
>> Also, I see following error in region server:
>>
>> ava.lang.RuntimeException: Failed construction of Regionserver: class
>> org.apache.hadoop.hbase.regionserver.HRegionServer
>>         at
>>
>> org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2407)
>>         at
>>
>> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:61)
>>         at
>>
>> org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:85)
>>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>>         at
>>
>> org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
>>         at
>>
>> org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2422)
>> Caused by: java.lang.reflect.InvocationTargetException
>>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>> Method)
>>         at
>>
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>>  at
>>
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>>         at
>>
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>         at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>>         at
>>
>> org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2405)
>>         ... 5 more
>> Caused by: 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.mortbay.log.Slf4jLog.info(Slf4jLog.java:67)
>>         at org.mortbay.log.Log.<clinit>(Log.java:79)
>>         at org.mortbay.component.Container.add(Container.java:200)
>>         at org.mortbay.component.Container.update(Container.java:164)
>>         at org.mortbay.component.Container.update(Container.java:106)
>>         at org.mortbay.jetty.Server.setConnectors(Server.java:160)
>>         at org.mortbay.jetty.Server.addConnector(Server.java:134)
>>         at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:161)
>>         at org.apache.hadoop.http.HttpServer.<init>(HttpServer.java:119)
>>         at
>> org.apache.hadoop.hbase.util.InfoServer.<init>(InfoServer.java:59)
>>         at
>>
>> org.apache.hadoop.hbase.regionserver.HRegionServer.putUpWebUI(HRegionServer.java:1684)
>>         at
>>
>> org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:631)
>>
>> Thanks
>> Abhishek
>>
>>
>>
>> --
>> View this message in context:
>> http://apache-hbase.679495.n3.nabble.com/NoSuchMethodError-using-zipkin-with-hbase-0-98-5-tp4064831p4064832.html
>> Sent from the HBase User mailing list archive at Nabble.com.
>>
>
>

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