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