hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ramkris...@apache.org
Subject hbase git commit: HBASE-13632 - Backport HBASE-13368 to branch-1 and 0.98 (Ram)
Date Wed, 06 May 2015 08:21:19 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 d73b88f7f -> 38cd55945


HBASE-13632 -  Backport HBASE-13368 to branch-1 and 0.98 (Ram)


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

Branch: refs/heads/0.98
Commit: 38cd559456aa93128743e02a00922f4cf3e95f95
Parents: d73b88f
Author: ramkrishna <ramkrishna.s.vasudevan@gmail.com>
Authored: Wed May 6 13:50:43 2015 +0530
Committer: ramkrishna <ramkrishna.s.vasudevan@gmail.com>
Committed: Wed May 6 13:50:43 2015 +0530

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/util/Hash.java        | 2 +-
 .../src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java | 2 +-
 .../src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java  | 2 +-
 .../src/main/java/org/apache/hadoop/hbase/util/MurmurHash3.java | 5 +++++
 4 files changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/38cd5594/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Hash.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Hash.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Hash.java
index a7d5843..b442744 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Hash.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Hash.java
@@ -26,7 +26,7 @@ import org.apache.hadoop.conf.Configuration;
 /**
  * This class represents a common API for hashing functions.
  */
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Stable
 public abstract class Hash {
   /** Constant to denote invalid hash type. */

http://git-wip-us.apache.org/repos/asf/hbase/blob/38cd5594/hbase-common/src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java
index c244699..cf4e4b6 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java
@@ -42,7 +42,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
  * @see <a href="http://burtleburtle.net/bob/hash/doobs.html">Has update on the
  * Dr. Dobbs Article</a>
  */
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Stable
 public class JenkinsHash extends Hash {
   private static final int BYTE_MASK = 0xff;

http://git-wip-us.apache.org/repos/asf/hbase/blob/38cd5594/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java
index 3663d41..5c27386 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java
@@ -29,7 +29,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability;
  * <p>The C version of MurmurHash 2.0 found at that site was ported
  * to Java by Andrzej Bialecki (ab at getopt org).</p>
  */
-@InterfaceAudience.Public
+@InterfaceAudience.Private
 @InterfaceStability.Stable
 public class MurmurHash extends Hash {
   private static MurmurHash _instance = new MurmurHash();

http://git-wip-us.apache.org/repos/asf/hbase/blob/38cd5594/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash3.java
----------------------------------------------------------------------
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash3.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash3.java
index cb96f3e..78d1331 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash3.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/util/MurmurHash3.java
@@ -18,6 +18,9 @@
  */
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.hbase.classification.InterfaceAudience;
+import org.apache.hadoop.hbase.classification.InterfaceStability;
+
 /**
  * This is a very fast, non-cryptographic hash suitable for general hash-based
  * lookup.  See http://code.google.com/p/smhasher/wiki/MurmurHash3 for details.
@@ -25,6 +28,8 @@ package org.apache.hadoop.hbase.util;
  * <p>MurmurHash3 is the successor to MurmurHash2. It comes in 3 variants, and
  * the 32-bit version targets low latency for hash table use.</p>
  */
+@InterfaceAudience.Private
+@InterfaceStability.Stable
 public class MurmurHash3 extends Hash {
   private static MurmurHash3 _instance = new MurmurHash3();
 


Mime
View raw message