I had this same problem.  Check to make sure hadoop config is not using your
old hbase libs. (HADOOP_CLASSPATH in hadoop-env.sh)
But the error probably means that you have mixed versions of hbase on your
classpath.


On Tue, Jul 29, 2008 at 1:56 PM, Yair Even-Zohar
<[EMAIL PROTECTED]>wrote:

> I define
>
> HBaseConfiguration  conf = new HBaseConfiguration();
>
>
>
> And then the following line  (my AseAdmin.java:50)
>
>
>
> HBaseAdmin  admin = new HBaseAdmin(conf);
>
>
>
> generated the below error:
>
>
>
> Exception in thread "main" java.lang.IllegalAccessError: tried to access
> method
>
> org.apache.hadoop.hbase.LocalHBaseCluster.doLocal(Lorg/apache/hadoop/hba
> se/HBase
>
> Configuration;)Lorg/apache/hadoop/hbase/HBaseConfiguration; from class
> org.apach
>
> e.hadoop.hbase.client.HConnectionManager$TableServers
>
>        at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.<init>
>
> (HConnectionManager.java:150)
>
>        at
> org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConn
>
> ectionManager.java:88)
>
>        at
> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:63)
>
>        at
> com.revenuescience.sandbox.hbase.AseAdmin.<init>(AseAdmin.java:50)
>
>
>
>
>
> Any idea what's causing this?
>
>
>
> Thanks
>
> -Yair
>
>
>
> P.S there were no exception in the haddop log or Hbase log
>
>

Reply via email to