castagna / hbase-rdf

Apache License 2.0
24 stars 9 forks source link

Hbase Connection Issue #6

Open sanit4u opened 9 years ago

sanit4u commented 9 years ago

HI Vaibhav,

I am using Hbase 0.98.11 for the hbase-rdf store. While running the simplelayout example, it throws me the following error.

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.hadoop.security.UserGroupInformation.getCurrentUser()Lorg/apache/hadoop/security/UserGroupInformation; at org.apache.hadoop.hbase.security.User$SecureHadoopUser.(User.java:289) at org.apache.hadoop.hbase.security.User$SecureHadoopUser.(User.java:285) at org.apache.hadoop.hbase.security.User.getCurrent(User.java:187) at org.apache.hadoop.hbase.security.UserProvider.getCurrent(UserProvider.java:89) at org.apache.hadoop.hbase.client.HConnectionKey.(HConnectionKey.java:72) at org.apache.hadoop.hbase.client.HConnectionManager.getConnection(HConnectionManager.java:313) at org.apache.hadoop.hbase.client.HBaseAdmin.checkHBaseAvailable(HBaseAdmin.java:2381) at com.talis.hbase.rdf.connection.HBaseRdfConnectionFactory.createHBaseAdmin(HBaseRdfConnectionFactory.java:79) at com.talis.hbase.rdf.connection.HBaseRdfConnection.(HBaseRdfConnection.java:48) at com.talis.hbase.rdf.connection.HBaseRdfConnectionFactory.makeHBaseConnection(HBaseRdfConnectionFactory.java:52) at com.talis.hbase.rdf.connection.HBaseRdfConnectionFactory.worker(HBaseRdfConnectionFactory.java:47) at com.talis.hbase.rdf.connection.HBaseRdfConnectionFactory.create(HBaseRdfConnectionFactory.java:29) at com.talis.hbase.rdf.store.StoreFactory._create(StoreFactory.java:80) at com.talis.hbase.rdf.store.StoreFactory.create(StoreFactory.java:70) at com.talis.hbase.rdf.store.StoreFactory.create(StoreFactory.java:50) at com.talis.hbase.rdf.HBaseRdfFactory.connectStore(HBaseRdfFactory.java:53)

The hbase connection works through simple java program. However, it throws exception with the hbase-rdf. I am missing something here. Could you please point me where is the problem.

Thanks and Regards, Santosh