Support Questions
Find answers, ask questions, and share your expertise

Getting exceptions while exporting HBase table data to CSV file

Super Collaborator

I am using HDP2.4 sandbox and doing Hbase table export technique which creates a sequence file and puts it in HDFS. After this, I created a hive table stored as sequencefile but its giving me below exception when I am loading the sequence file data into this hive table:

java.lang.RuntimeException: java.io.IOException:

WritableName can't load class: org.apache.hadoop.hbase.io.ImmutableBytesWritable

The plan is to create one more hive table with comma delimiter specified and this table would select the data from the first hive table. Please let me know if you have experienced this before.

10 REPLIES 10

Hi @Josh Elser, do you have an example where you have exported HBASE table as CSV. Or is there a example where the below happens

"convert HBase's Sequence file (which is ImmutableBytesWritable to Result) to something Hive can consume"