Hadoop HBASE中HFileOutputFormat2.configureIncrementalLoad与HFileOutputFormat.configureIncrementalLoad之间的差异

Hadoop HBASE中HFileOutputFormat2.configureIncrementalLoad与HFileOutputFormat.configureIncrementalLoad之间的差异,hadoop,mapreduce,hbase,Hadoop,Mapreduce,Hbase,您能告诉我HFileOutputFormat2.configureIncrementalLoad与HFileOutputFormat.configureIncrementalLoad在HBASE中的区别是什么吗?因为这两种方法都可以正常工作?是否有任何性能改进?如果使用这两个类共存的HBase版本(0.96+),则它们之间绝对没有区别 您可以检查代码以查看HFileOutputFormat.configureIncrementalLoad仅从HFileOutputFormat2调用相同的方法:

您能告诉我HFileOutputFormat2.configureIncrementalLoad与HFileOutputFormat.configureIncrementalLoad在HBASE中的区别是什么吗?因为这两种方法都可以正常工作?是否有任何性能改进?

如果使用这两个类共存的HBase版本(0.96+),则它们之间绝对没有区别

您可以检查代码以查看
HFileOutputFormat.configureIncrementalLoad
仅从
HFileOutputFormat2
调用相同的方法:

public static void configureIncrementalLoad(Job job, HTable table)
  throws IOException {
HFileOutputFormat2.configureIncrementalLoad(job, table.getTableDescriptor(),
    table.getRegionLocator());
}
自0.96版添加HFileOutputFormat2以来,所有版本的HBase都存在这种行为