You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/08/15 18:09:18 UTC

[GitHub] [hbase-operator-tools] jatsakthi commented on a change in pull request #14: HBASE-22843 [HBCK2] Fix HBCK2 after HBASE-22777 & HBASE-22758

jatsakthi commented on a change in pull request #14: HBASE-22843 [HBCK2] Fix HBCK2 after HBASE-22777 & HBASE-22758
URL: https://github.com/apache/hbase-operator-tools/pull/14#discussion_r314432307
 
 

 ##########
 File path: hbase-hbck2/src/main/java/org/apache/hbase/hbck1/HBCKConstants.java
 ##########
 @@ -0,0 +1,22 @@
+package org.apache.hbase.hbck1;
+
+import org.apache.hadoop.hbase.util.Bytes;
+import org.apache.yetus.audience.InterfaceAudience;
+
+/**
+ * HBCKConstants holds a bunch of HBase(HBCK)-related constants.
+ * hbck's local version of the HConstants from the hbase repo.
+ */
+@InterfaceAudience.Private
+final class HBCKConstants {
+  /**
+   * Merge qualifier prefix.
+   * We used to only allow two regions merge; mergeA and mergeB.
+   * Now we allow many to merge. Each region to merge will be referenced
+   * in a column whose qualifier starts with this define.
+   */
+  public static final String MERGE_QUALIFIER_PREFIX_STR = "merge";
+
+  public static final byte [] MERGE_QUALIFIER_PREFIX =
+      Bytes.toBytes(MERGE_QUALIFIER_PREFIX_STR);
+}
 
 Review comment:
   Removed the class and defined it within the class.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services