You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: