HBASE-22600 Document that LoadIncrementalHFiles will be removed in 3.0.0 (#321)

Signed-off-by: huzheng <openinx@gmail.com>
This commit is contained in:
Duo Zhang 2019-06-19 22:43:06 +08:00 committed by GitHub
parent 97393a0c90
commit 10bd49edaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -108,6 +108,11 @@ import org.apache.hbase.thirdparty.com.google.common.util.concurrent.ThreadFacto
/**
* Tool to load the output of HFileOutputFormat into an existing table.
* <p/>
* Notice that, by default, this class should be kept till 4.0.0, but as this is a bad practice that
* we expose an implementation class instead of an interface, we want to fix it ASAP. That's why we
* will remove this class completely in 3.0.0. Please change your code to use
* {@link BulkLoadHFiles}.
* @deprecated since 2.2.0, will be removed in 3.0.0. Use {@link BulkLoadHFiles} instead. Please
* rewrite your code if you rely on methods other than the {@link #run(Map, TableName)}
* and {@link #run(String, TableName)}, as all the methods other than them will be
@ -155,7 +160,7 @@ public class LoadIncrementalHFiles extends Configured implements Tool {
* the case where a region has split during the process of the load. When this happens, the HFile
* is split into two physical parts across the new region boundary, and each part is added back
* into the queue. The import process finishes when the queue is empty.
* @deprecated since 2.2.0 and will be removed in 4.0.0. Use {@link BulkLoadHFiles} instead.
* @deprecated since 2.2.0 and will be removed in 3.0.0. Use {@link BulkLoadHFiles} instead.
* @see BulkLoadHFiles
* @see <a href="https://issues.apache.org/jira/browse/HBASE-21782">HBASE-21782</a>
*/