hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Busbey <bus...@cloudera.com>
Subject Re: Hbase Es -Quava lib conflict
Date Wed, 20 Jul 2016 17:25:27 GMT
how are you making use of hbase shaded client? that module should
remove this issue entirely.

On Tue, Jul 19, 2016 at 5:50 PM, Saurabh Malviya (samalviy)
<samalviy@cisco.com> wrote:
> Hi,
>
> I am addressing one issue to make Hbase and ES work together in same spark project
>
> https://community.cloudera.com/t5/Storage-Random-Access-HDFS/Apache-HBase-Shaded-Client-1-1-x-with-Cloudera-Hbase-1-0-0-CDH-5/td-p/35505
>
> If anyone have any pointer let me know, Even Hbase-shaded-client does not help.  If I
removed quava reference ""com.google.guava" % "guava" % "18.0"" It will works but Elastic
search failed in that case.
>
> Exception in thread "main" java.lang.IllegalAccessError: tried to access method com.google.common.base.Stopwatch.<init>()V
from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
>                at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(MetaTableLocator.java:596)
>                at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(MetaTableLocator.java:580)
>                at org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(MetaTableLocator.java:559)
>                at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation(ZooKeeperRegistry.java:61)
>                at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateMeta(ConnectionManager.java:1185)
>                at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1152)
>                at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(ConnectionManager.java:1126)
>                at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1331)
>                at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1155)
>                at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:370)
>                at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:321)
>                at org.apache.hadoop.hbase.client.BufferedMutatorImpl.backgroundFlushCommits(BufferedMutatorImpl.java:206)
>                at org.apache.hadoop.hbase.client.BufferedMutatorImpl.flush(BufferedMutatorImpl.java:183)
>                at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1425)
>                at org.apache.hadoop.hbase.client.HTable.put(HTable.java:1018)
>                at common.TaskTracker$.updateStatus(TaskTracker.scala:55)
>
>



-- 
busbey

Mime
View raw message