From ad8f1d076f05d0c2a47bdababa1c5c3f0fe9e756 Mon Sep 17 00:00:00 2001 From: ramkrishna Date: Wed, 6 May 2015 13:43:30 +0530 Subject: [PATCH] HBASE-13632 - Backport HBASE-13368 to branch-1 and 0.98 (Ram) --- .../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 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 a7d58434b9c..b4427444d31 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. */ 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 359e7a90c2a..8ee214d398f 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 Has update on the * Dr. Dobbs Article */ -@InterfaceAudience.Public +@InterfaceAudience.Private @InterfaceStability.Stable public class JenkinsHash extends Hash { private static final int BYTE_MASK = 0xff; 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 3663d419747..5c27386af19 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; *

The C version of MurmurHash 2.0 found at that site was ported * to Java by Andrzej Bialecki (ab at getopt org).

*/ -@InterfaceAudience.Public +@InterfaceAudience.Private @InterfaceStability.Stable public class MurmurHash extends Hash { private static MurmurHash _instance = new MurmurHash(); 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 89014dbdd00..78d1331fc61 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 @@ -28,7 +28,7 @@ import org.apache.hadoop.hbase.classification.InterfaceStability; *

MurmurHash3 is the successor to MurmurHash2. It comes in 3 variants, and * the 32-bit version targets low latency for hash table use.

*/ -@InterfaceAudience.Public +@InterfaceAudience.Private @InterfaceStability.Stable public class MurmurHash3 extends Hash { private static MurmurHash3 _instance = new MurmurHash3();