本文共 316 字,大约阅读时间需要 1 分钟。
最近几天将oracle的数据导入hbase中,导入其中一张表时出现如下错误。
ERROR mapreduce.LoadIncrementalHFiles: Trying to load more than 32 hfiles to family d of region with start key
原来是hbase在写入HFile时,一个列簇的文件数量不能超过32。
在hbase-site.xml中添加:
hbase.mapreduce.bulkload.max.hfiles.perRegion.perFamily 1024
转载地址:http://ukjmb.baihongyu.com/