hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stack <st...@duboce.net>
Subject Re: Illegal Access error
Date Fri, 15 Aug 2008 04:03:15 GMT
I'm guessing you are bundling hbase jar up in your job jar?  If so, from 
http://wiki.apache.org/hadoop/Hbase/MapReduce, "NOTE: While previous it 
used to be possible to bundle the hbase.jar up inside the job jar you 
submit to hadoop, as of 0.2.0RC2, this is no longer so. See HBASE-797. 
"  See just above this note for how to add hbase jar to the 
HADOOP_CLASSPATH on your cluster.
St.Ack



Mark Snow wrote:
> I'm running hbase0.2.0/hadoop0.17.0 with a simple script to create a table, then fill
it with data. The create table part isn't a MR job, but run from the hadoop jar. (I used the
Gradestable example from the list about a month ago as a template)
>
> I get the following error with the create table call:
>
>
> java.lang.IllegalAccessError: tried to access 
> method org.apache.hadoop.ipc.Client.incCount()V from class 
> org.apache.hadoop.ipc.HBaseClient
>         at 
> org.apache.hadoop.ipc.HBaseClient.incCount(HBaseClient.java:39)
>         at 
> org.apache.hadoop.hbase.ipc.HbaseRPC$ClientCache.getClient(HbaseRPC.java:179)
>         
> at 
> org.apache.hadoop.hbase.ipc.HbaseRPC$ClientCache.access$200(HbaseRPC.java:156)
>         
> at 
> org.apache.hadoop.hbase.ipc.HbaseRPC$Invoker.<init>(HbaseRPC.java:224)
>         
> at org.apache.hadoop.hbase.ipc.HbaseRPC.getProxy(HbaseRPC.java:336)
>         
> at org.apache.hadoop.hbase.ipc.HbaseRPC.getProxy(HbaseRPC.java:327)
>         
> at org.apache.hadoop.hbase.ipc.HbaseRPC.getProxy(HbaseRPC.java:364)
>         
> at 
> org.apache.hadoop.hbase.ipc.HbaseRPC.waitForProxy(HbaseRPC.java:302)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getHRegionConnection(HConnectionManager.java:774)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:825)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:467)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:441)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:520)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:477)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:441)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:520)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:481)
>         
> at 
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:441)
>         
> at 
> org.apache.hadoop.hbase.client.HBaseAdmin.createTable(HBaseAdmin.java:154)
>
>
>       
>   


Mime
View raw message