You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2020/06/23 03:22:07 UTC
[hbase] branch branch-2.3 updated: HBASE-23055 Alter hbase:meta
(#1956)
This is an automated email from the ASF dual-hosted git repository.
stack pushed a commit to branch branch-2.3
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.3 by this push:
new 666fd1d HBASE-23055 Alter hbase:meta (#1956)
666fd1d is described below
commit 666fd1d11f24cb1ee028b53f9236857e787da3a9
Author: Michael Stack <sa...@users.noreply.github.com>
AuthorDate: Mon Jun 22 20:20:42 2020 -0700
HBASE-23055 Alter hbase:meta (#1956)
Addendum to fix illegal removal of unused constant w/o
a deprecation cycle.
---
.../src/main/java/org/apache/hadoop/hbase/HConstants.java | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
index 622f403..e977747 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/HConstants.java
@@ -27,6 +27,7 @@ import java.util.List;
import java.util.UUID;
import java.util.regex.Pattern;
+import org.apache.commons.lang3.ArrayUtils;
import org.apache.hadoop.hbase.util.Bytes;
import org.apache.yetus.audience.InterfaceAudience;
@@ -1235,6 +1236,16 @@ public final class HConstants {
HBCK_SIDELINEDIR_NAME, HBASE_TEMP_DIRECTORY, MIGRATION_NAME
}));
+ /**
+ * Directories that are not HBase user table directories.
+ * @deprecated Since hbase-2.3.0; no replacement as not used any more (internally at least)
+ */
+ @Deprecated
+ public static final List<String> HBASE_NON_USER_TABLE_DIRS =
+ Collections.unmodifiableList(Arrays.asList((String[])ArrayUtils.addAll(
+ new String[] { TableName.META_TABLE_NAME.getNameAsString() },
+ HBASE_NON_TABLE_DIRS.toArray())));
+
/** Health script related settings. */
public static final String HEALTH_SCRIPT_LOC = "hbase.node.health.script.location";
public static final String HEALTH_SCRIPT_TIMEOUT = "hbase.node.health.script.timeout";