问题
I tried the HBase export tool to transfer a table to HDFS. I tried to hadoop dfs -text
the file to see a collection of contents. However, I got a fatal error:
java.lang.RuntimeException: java.io.IOException: WritableName can't load class: org.apache.hadoop.hbase.io.ImmutableBytesWritable
Do I need to integrate any configuration to include the class in my hadoop runtime?
回答1:
A sequenceFile is a binary format. you can access it using Hadoop programing API or you can try a tool like forklift
来源:https://stackoverflow.com/questions/16310177/sequence-files-created-by-hbase-export-utility-arent-readable