You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2019/06/19 14:43:13 UTC
[hbase] branch branch-2 updated: HBASE-22600 Document that
LoadIncrementalHFiles will be removed in 3.0.0 (#321)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 10bd49e HBASE-22600 Document that LoadIncrementalHFiles will be removed in 3.0.0 (#321)
10bd49e is described below
commit 10bd49edaf4f727b722204464af45f3c67649c1e
Author: Duo Zhang <zh...@apache.org>
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 <op...@gmail.com>
---
.../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>
*/