ERROR: org.apache.hadoop.hbase.DoNotRetryIOException: Block size for column family prop must be between 1K and 16MB. Set hbase.table.sanity.checks to false at conf or table descriptor if you want to bypass sanity checks
Configuration configuration
configuration = HBaseConfiguration.create();
configuration.set("hbase.table.sanity.checks","false");
去掉检查
服务器端修改
此时存储数据如果超过某一大小会报错keyvalue超出限制,应设置keyvalue大小
configuration.set("hbase.client.keyvalue.maxsize",String.valueOf(50*1024*1024));