hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject git commit: HBASE-12000 isMob and mobThreshold do not adhere to naming conventions
Date Wed, 17 Sep 2014 02:46:23 GMT
Repository: hbase
Updated Branches:
  refs/heads/HBASE-11339 [created] 98444d21c


HBASE-12000 isMob and mobThreshold do not adhere to naming conventions


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/98444d21
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/98444d21
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/98444d21

Branch: refs/heads/HBASE-11339
Commit: 98444d21c2d221c3418559ec73d331cc8c7167e9
Parents: 686e1e5
Author: Misty Stanley-Jones <mstanleyjones@cloudera.com>
Authored: Wed Sep 17 12:46:10 2014 +1000
Committer: Misty Stanley-Jones <mstanleyjones@cloudera.com>
Committed: Wed Sep 17 12:46:10 2014 +1000

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java  | 4 ++--
 .../java/org/apache/hadoop/hbase/regionserver/HMobStore.java     | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/98444d21/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java
index d208722..9978afd 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobConstants.java
@@ -32,8 +32,8 @@ import org.apache.hadoop.hbase.util.Bytes;
 @InterfaceStability.Evolving
 public class MobConstants {
 
-  public static final byte[] IS_MOB = Bytes.toBytes("isMob");
-  public static final byte[] MOB_THRESHOLD = Bytes.toBytes("mobThreshold");
+  public static final byte[] IS_MOB = Bytes.toBytes("IS_MOB");
+  public static final byte[] MOB_THRESHOLD = Bytes.toBytes("MOB_THRESHOLD");
   public static final long DEFAULT_MOB_THRESHOLD = 100 * 1024; // 100k
 
   public static final String MOB_SCAN_RAW = "hbase.mob.scan.raw";

http://git-wip-us.apache.org/repos/asf/hbase/blob/98444d21/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HMobStore.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HMobStore.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HMobStore.java
index 08157f5..17d3802 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HMobStore.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HMobStore.java
@@ -48,7 +48,7 @@ import org.apache.hadoop.hbase.util.Bytes;
 
 /**
  * The store implementation to save MOBs (medium objects), it extends the HStore.
- * When a descriptor of a column family has the value "is_mob", it means this column family
+ * When a descriptor of a column family has the value "IS_MOB", it means this column family
  * is a mob one. When a HRegion instantiate a store for this column family, the HMobStore
is
  * created.
  * HMobStore is almost the same with the HStore except using different types of scanners.
@@ -56,7 +56,7 @@ import org.apache.hadoop.hbase.util.Bytes;
  * In these scanners, a additional seeks in the mob files should be performed after the seek
  * to HBase is done.
  * The store implements how we save MOBs by extending HStore. When a descriptor
- * of a column family has the value "isMob", it means this column family is a mob one. When
a
+ * of a column family has the value "IS_MOB", it means this column family is a mob one. When
a
  * HRegion instantiate a store for this column family, the HMobStore is created. HMobStore
is
  * almost the same with the HStore except using different types of scanners. In the method
of
  * getScanner, the MobStoreScanner and MobReversedStoreScanner are returned. In these scanners,
a


Mime
View raw message