This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.2 by this push:
new cf3cd75 HBASE-22600 Document that LoadIncrementalHFiles will be
removed in 3.0.0 (#321)
cf3cd75 is described below
commit cf3cd759dce808cb0a9f6db90e27f7df70901169
Author: Duo Zhang <[email protected]>
AuthorDate: Wed Jun 19 22:43:06 2019 +0800
HBASE-22600 Document that LoadIncrementalHFiles will be removed in 3.0.0
(#321)
Signed-off-by: huzheng <[email protected]>
---
.../java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java
index a926618..5dfb386 100644
---
a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java
+++
b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/LoadIncrementalHFiles.java
@@ -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>
*/