hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jingcheng Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14126) I'm using play framework, creating a sample Hbase project. And I keep getting this error: tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
Date Tue, 21 Jul 2015 06:42:05 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14634603#comment-14634603
] 

Jingcheng Du commented on HBASE-14126:
--------------------------------------

FYI, the guava used in hbase-1.0 is 12.0.1. You can check the jars under classpath of hbase,
maybe there're duplicated guava jars with higher version.
It's better to start a topic in hbase user group instead of filing a JIRA for such questions.

> I'm using play framework, creating a sample Hbase project. And I keep getting this error:
tried to access method com.google.common.base.Stopwatch.<init>()V from class org.apache.hadoop.hbase.zookeeper.MetaTableLocator
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-14126
>                 URL: https://issues.apache.org/jira/browse/HBASE-14126
>             Project: HBase
>          Issue Type: Task
>         Environment: Ubuntu; Play Framework 2.4.2; Hbase 1.0
>            Reporter: Lesley Cheung
>            Assignee: Lesley Cheung
>
> The simple Hbase project works in Maven. But when I use play framework , it keeps showing
this error. I modified the lib dependency many times, but I just can't eliminate this error.
Some one please help me! 
>  
> 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:434)
> 	at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation(ZooKeeperRegistry.java:60)
> 	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1123)
> 	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1110)
> 	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(ConnectionManager.java:1262)
> 	at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(ConnectionManager.java:1126)
> 	at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:369)
> 	at org.apache.hadoop.hbase.client.AsyncProcess.submit(AsyncProcess.java:320)
> 	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:1496)
> 	at org.apache.hadoop.hbase.client.HTable.put(HTable.java:1119)
> 	at utils.BigQueue.run(BigQueue.java:68)
> 	at akka.actor.LightArrayRevolverScheduler$$anon$2$$anon$1.run(Scheduler.scala:242)
> 	at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41)
> 	at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
> 	at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> 	at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
> 	at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> 	at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message