sequence files created by HBASE export utility aren't readable

前提是你 提交于 2019-12-08 11:54:14

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!