alan.zhao created HBASE-28100:
---------------------------------

             Summary:  The size that is checked against the maxfilesize 
threshold is the uncompressed size of the HFile
                 Key: HBASE-28100
                 URL: https://issues.apache.org/jira/browse/HBASE-28100
             Project: HBase
          Issue Type: Bug
         Environment: HBase 2.x
            Reporter: alan.zhao
            Assignee: alan.zhao
         Attachments: image-2023-09-20-12-09-49-959.png

HBase server is configured to use Snappy compression.when doing bulkload in 
HBase, the size that is checked against the maxfilesize threshold is the 
uncompressed size of the HFile, not the compressed size.

HFileOutputFormat2.class

 
{code:java}
//代码占位符
new RecordWriter<ImmutableBytesWritable, V>() {
....
@Override
public void write(ImmutableBytesWritable row, V cell) throws IOException {
...


}

}
 {code}
!image-2023-09-20-12-09-49-959.png!

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to