AnsweredAssumed Answered

Error conneting to MapR-DB over m7

Question asked by manojkumarvohra on Apr 12, 2018
Latest reply on Apr 16, 2018 by maprcommunity
Branched from an earlier discussion

Hi Cathy,

 

I am also getting the below error while connecting to maprdb over m7.

 

The interaction is being done through a war deployed on tomcat.

 

Caused by: java.lang.RuntimeException: Error occurred while instantiating com.mapr.fs.hbase.HTableImpl11.
==> java.lang.NoSuchFieldError: setSeperateAuditPath.
at org.apache.hadoop.hbase.client.mapr.GenericHFactory.getImplementorInstance(GenericHFactory.java:40)
at org.apache.hadoop.hbase.client.HTable.createMapRTable(HTable.java:537)
at org.apache.hadoop.hbase.client.HTable$1.run(HTable.java:500)
at org.apache.hadoop.hbase.client.HTable$1.run(HTable.java:497)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:360)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1575)
at org.apache.hadoop.hbase.client.HTable.initIfMapRTableImpl(HTable.java:496)
... 48 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.apache.hadoop.hbase.client.mapr.GenericHFactory.getImplementorInstance(GenericHFactory.java:37)
... 55 more
Caused by: java.lang.NoSuchFieldError: setSeperateAuditPath
at com.mapr.fs.MapRFileSystem.InitializeClientInitParamsFromConf(MapRFileSystem.java:365)
at com.mapr.fs.MapRFileSystem.initConfig(MapRFileSystem.java:521)
at com.mapr.fs.MapRFileSystem.initialize(MapRFileSystem.java:357)
at com.mapr.fs.MapRFileSystem.initialize(MapRFileSystem.java:347)
at com.mapr.fs.MapRHTable.init(MapRHTable.java:94)
at com.mapr.fs.hbase.HTableImpl.<init>(HTableImpl.java:94)
at com.mapr.fs.hbase.HTableImpl11.<init>(HTableImpl11.java:57)
... 60 more

 

Can you please see what could be the issue?

Outcomes