-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Hi, I am using this api for loading bulk of json files to HBase. While executing it throws an exception
Exception in thread "main" java.lang.ClassCastException: org.apache.hadoop.hbase.client.HTablePool$PooledHTable cannot be cast to org.apache.hadoop.hbase.client.HTable
at com.igalia.hbaseloader.utils.HBaseHelper.getTable(HBaseHelper.java:96)
at com.igalia.hbaseloader.utils.HBaseHelper.getOrCreateTable(HBaseHelper.java:92)
at com.igalia.hbaseloader.HBaseLoader.main(HBaseLoader.java:50)
This exception is raised from method getTable(String) from HbaseHelper Class. Actually this method calls another method which returns it a type of HTableInterface, it then typecast to HTable and then exception is raised.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels