How to set the parameter hbase.client.keyvalue.maxsize in nodehbase

problem description

as mentioned above, I want to import a 15m file into HBASE, but the default maximum of a cell for hbase is 10m. After searching around, basically modify the configuration item directly in hbase-site.xml, or use the configuration object in the code to modify it, as follows:

<property>
    <name>hbase.client.keyvalue.maxsize</name>
    <value>20971520</value>
</property>
Configuration conf = HBaseConfiguration.create();  
conf.set("hbase.client.keyvalue.maxsize","20971520");

the question now is that I did not find a similar method under the node-hbase library. Is there any eldest brother who can mention it? thank you

Mar.25,2021
Menu