hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1295710 [8/8] - in /hbase/trunk: bin/ src/main/java/org/apache/hadoop/hbase/ src/main/java/org/apache/hadoop/hbase/avro/ src/main/java/org/apache/hadoop/hbase/catalog/ src/main/java/org/apache/hadoop/hbase/client/ src/main/java/org/apache/...
Date Thu, 01 Mar 2012 17:53:33 GMT
Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/EnvironmentEdgeManager.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/EnvironmentEdgeManager.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/EnvironmentEdgeManager.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/EnvironmentEdgeManager.java Thu Mar  1 17:53:03 2012
@@ -19,11 +19,16 @@
  */
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Manages a singleton instance of the environment edge. This class shall
  * implement static versions of the interface {@link EnvironmentEdge}, then
  * defer to the delegate on invocation.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class EnvironmentEdgeManager {
   private static volatile EnvironmentEdge delegate = new DefaultEnvironmentEdge();
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSHDFSUtils.java Thu Mar  1 17:53:03 2012
@@ -25,6 +25,8 @@ import java.lang.reflect.InvocationTarge
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FSDataOutputStream;
 import org.apache.hadoop.fs.FileSystem;
@@ -38,6 +40,8 @@ import org.apache.hadoop.hdfs.server.nam
 /**
  * Implementation for hdfs
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class FSHDFSUtils extends FSUtils{
   private static final Log LOG = LogFactory.getLog(FSHDFSUtils.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSMapRUtils.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSMapRUtils.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSMapRUtils.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSMapRUtils.java Thu Mar  1 17:53:03 2012
@@ -19,6 +19,8 @@
 package org.apache.hadoop.hbase.util;
 
 import java.io.IOException;
+
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
@@ -29,6 +31,7 @@ import org.apache.commons.logging.LogFac
 /**
  * <a href="http://www.mapr.com">MapR</a> implementation.
  */
+@InterfaceAudience.Private
 public class FSMapRUtils extends FSUtils {
   private static final Log LOG = LogFactory.getLog(FSMapRUtils.class);
   

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSTableDescriptors.java Thu Mar  1 17:53:03 2012
@@ -31,6 +31,7 @@ import java.util.regex.Pattern;
 import org.apache.commons.lang.NotImplementedException;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FSDataInputStream;
 import org.apache.hadoop.fs.FSDataOutputStream;
@@ -61,6 +62,7 @@ import org.apache.hadoop.hbase.TableExis
  * will not be lots of concurrent clients making table schema edits.  If so,
  * the below needs a bit of a reworking and perhaps some supporting api in hdfs.
  */
+@InterfaceAudience.Private
 public class FSTableDescriptors implements TableDescriptors {
   private static final Log LOG = LogFactory.getLog(FSTableDescriptors.class);
   private final FileSystem fs;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java Thu Mar  1 17:53:03 2012
@@ -32,6 +32,8 @@ import java.util.Map;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.BlockLocation;
 import org.apache.hadoop.fs.FSDataInputStream;
@@ -54,6 +56,8 @@ import org.apache.hadoop.util.StringUtil
 /**
  * Utility methods for interacting with the underlying file system.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public abstract class FSUtils {
   private static final Log LOG = LogFactory.getLog(FSUtils.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FileSystemVersionException.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FileSystemVersionException.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FileSystemVersionException.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/FileSystemVersionException.java Thu Mar  1 17:53:03 2012
@@ -22,7 +22,12 @@ package org.apache.hadoop.hbase.util;
 
 import java.io.IOException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /** Thrown when the file system needs to be upgraded */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class FileSystemVersionException extends IOException {
   private static final long serialVersionUID = 1004053363L;
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseConfTool.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseConfTool.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseConfTool.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseConfTool.java Thu Mar  1 17:53:03 2012
@@ -20,6 +20,7 @@
 
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 
@@ -27,6 +28,7 @@ import org.apache.hadoop.hbase.HBaseConf
  * Tool that prints out a configuration.
  * Pass the configuration key on the command-line.
  */
+@InterfaceAudience.Private
 public class HBaseConfTool {
   public static void main(String args[]) {
     if (args.length < 1) {

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java Thu Mar  1 17:53:03 2012
@@ -38,6 +38,8 @@ import java.util.concurrent.atomic.Atomi
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FSDataInputStream;
 import org.apache.hadoop.fs.FileStatus;
@@ -84,6 +86,8 @@ import com.google.common.collect.TreeMul
  * Check consistency among the in-memory states of the master and the
  * region server(s) and the state of data in HDFS.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class HBaseFsck {
   public static final long DEFAULT_TIME_LAG = 60000; // default value of 1 minute
   public static final long DEFAULT_SLEEP_BEFORE_RERUN = 10000;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsckRepair.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsckRepair.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsckRepair.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsckRepair.java Thu Mar  1 17:53:03 2012
@@ -22,6 +22,8 @@ package org.apache.hadoop.hbase.util;
 import java.io.IOException;
 import java.util.List;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HRegionInfo;
 import org.apache.hadoop.hbase.NotServingRegionException;
@@ -33,6 +35,8 @@ import org.apache.hadoop.hbase.client.HC
 import org.apache.hadoop.hbase.ipc.HRegionInterface;
 import org.apache.zookeeper.KeeperException;
 
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class HBaseFsckRepair {
 
   /**

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HMerge.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HMerge.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HMerge.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HMerge.java Thu Mar  1 17:53:03 2012
@@ -27,6 +27,7 @@ import java.util.Random;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
@@ -54,6 +55,7 @@ import org.apache.hadoop.hbase.regionser
  * A non-instantiable class that has a static method capable of compacting
  * a table by merging adjacent regions.
  */
+@InterfaceAudience.Private
 class HMerge {
   // TODO: Where is this class used?  How does it relate to Merge in same package?
   static final Log LOG = LogFactory.getLog(HMerge.class);

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HasThread.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HasThread.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HasThread.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HasThread.java Thu Mar  1 17:53:03 2012
@@ -19,6 +19,8 @@ package org.apache.hadoop.hbase.util;
 
 import java.lang.Thread.UncaughtExceptionHandler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
 /**
  * Abstract class which contains a Thread and delegates the common Thread
  * methods to that instance.
@@ -27,6 +29,7 @@ import java.lang.Thread.UncaughtExceptio
  * something internal to the JDK uses Thread.currentThread() as a monitor
  * lock. This can produce deadlocks like HBASE-4367, HBASE-4101, etc.
  */
+@InterfaceAudience.Private
 public abstract class HasThread implements Runnable {
   private final Thread thread;
   

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Hash.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Hash.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Hash.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Hash.java Thu Mar  1 17:53:03 2012
@@ -20,11 +20,15 @@
 
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 
 /**
  * This class represents a common API for hashing functions.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public abstract class Hash {
   /** Constant to denote invalid hash type. */
   public static final int INVALID_HASH = -1;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HashedBytes.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HashedBytes.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HashedBytes.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HashedBytes.java Thu Mar  1 17:53:03 2012
@@ -21,10 +21,15 @@ package org.apache.hadoop.hbase.util;
 
 import java.util.Arrays;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * This class encapsulates a byte array and overrides hashCode and equals so
  * that it's identity is based on the data rather than the array instance.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class HashedBytes {
 
   private final byte[] bytes;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/IdLock.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/IdLock.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/IdLock.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/IdLock.java Thu Mar  1 17:53:03 2012
@@ -24,6 +24,8 @@ import java.io.InterruptedIOException;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.ConcurrentMap;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
 /**
  * Allows multiple concurrent clients to lock on a numeric id with a minimal
  * memory overhead. The intended usage is as follows:
@@ -36,6 +38,7 @@ import java.util.concurrent.ConcurrentMa
  *   idLock.releaseLockEntry(lockEntry);
  * }</pre>
  */
+@InterfaceAudience.Private
 public class IdLock {
 
   /** An entry returned to the client as a lock object */

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/IncrementingEnvironmentEdge.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/IncrementingEnvironmentEdge.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/IncrementingEnvironmentEdge.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/IncrementingEnvironmentEdge.java Thu Mar  1 17:53:03 2012
@@ -19,9 +19,12 @@
  */
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
 /**
  * Uses an incrementing algorithm instead of the default.
  */
+@InterfaceAudience.Private
 public class IncrementingEnvironmentEdge implements EnvironmentEdge {
 
   private long timeIncrement = 1;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/InfoServer.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/InfoServer.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/InfoServer.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/InfoServer.java Thu Mar  1 17:53:03 2012
@@ -26,6 +26,7 @@ import java.lang.reflect.Method;
 import java.net.URL;
 import java.util.Map;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.http.HttpServer;
@@ -41,6 +42,7 @@ import org.mortbay.jetty.servlet.Default
  *   "/static/" -> points to common static files (src/hbase-webapps/static)
  *   "/" -> the jsp server code from (src/hbase-webapps/<name>)
  */
+@InterfaceAudience.Private
 public class InfoServer extends HttpServer {
   private final Configuration config;
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JVMClusterUtil.java Thu Mar  1 17:53:03 2012
@@ -25,6 +25,7 @@ import java.util.List;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.hbase.master.HMaster;
@@ -34,6 +35,7 @@ import org.apache.hadoop.hbase.regionser
 /**
  * Utility used running a cluster all in the one JVM.
  */
+@InterfaceAudience.Private
 public class JVMClusterUtil {
   private static final Log LOG = LogFactory.getLog(JVMClusterUtil.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JenkinsHash.java Thu Mar  1 17:53:03 2012
@@ -25,6 +25,9 @@ import static java.lang.Integer.rotateLe
 import java.io.FileInputStream;
 import java.io.IOException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Produces 32-bit hash for hash table lookup.
  *
@@ -40,6 +43,8 @@ import java.io.IOException;
  * @see <a href="http://burtleburtle.net/bob/hash/doobs.html">Has update on the
  * Dr. Dobbs Article</a>
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JenkinsHash extends Hash {
   private static final int BYTE_MASK = 0xff;
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JvmVersion.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JvmVersion.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JvmVersion.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/JvmVersion.java Thu Mar  1 17:53:03 2012
@@ -22,11 +22,16 @@ package org.apache.hadoop.hbase.util;
 import java.util.HashSet;
 import java.util.Set;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Certain JVM versions are known to be unstable with HBase. This
  * class has a utility function to determine whether the current JVM
  * is known to be unstable.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public abstract class JvmVersion {
   private static Set<String> BAD_JVM_VERSIONS = new HashSet<String>();
   static {

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/KeyRange.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/KeyRange.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/KeyRange.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/KeyRange.java Thu Mar  1 17:53:03 2012
@@ -19,9 +19,12 @@
  */
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
 /**
  * A key range use in split coverage.
  */
+@InterfaceAudience.Private
 public interface KeyRange {
   abstract byte[] getStartKey();
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Keying.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Keying.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Keying.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Keying.java Thu Mar  1 17:53:03 2012
@@ -23,6 +23,9 @@ import java.util.StringTokenizer;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Utility creating hbase friendly keys.
  * Use fabricating row names or column qualifiers.
@@ -30,6 +33,8 @@ import java.util.regex.Pattern;
  * http or https.
  * @see Bytes#split(byte[], byte[], int)
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Keying {
   private static final String SCHEME = "r:";
   private static final Pattern URI_RE_PARSER =

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MD5Hash.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MD5Hash.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MD5Hash.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MD5Hash.java Thu Mar  1 17:53:03 2012
@@ -26,11 +26,15 @@ import java.security.NoSuchAlgorithmExce
 import org.apache.commons.codec.binary.Hex;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 
 /**
  * Utility class for MD5
  * MD5 hash produces a 128-bit digest.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class MD5Hash {
   private static final Log LOG = LogFactory.getLog(MD5Hash.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ManualEnvironmentEdge.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ManualEnvironmentEdge.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ManualEnvironmentEdge.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ManualEnvironmentEdge.java Thu Mar  1 17:53:03 2012
@@ -19,10 +19,13 @@
  */
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
 /**
  * An environment edge that uses a manually set value. This is useful for testing events that are supposed to
  * happen in the same millisecond.
  */
+@InterfaceAudience.Private
 public class ManualEnvironmentEdge implements EnvironmentEdge {
 
   // Sometimes 0 ts might have a special value, so lets start with 1

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Merge.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Merge.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Merge.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Merge.java Thu Mar  1 17:53:03 2012
@@ -22,6 +22,8 @@ package org.apache.hadoop.hbase.util;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.conf.Configured;
 import org.apache.hadoop.fs.FileSystem;
@@ -50,6 +52,8 @@ import java.util.List;
  * Utility that can merge any two regions in the same table: adjacent,
  * overlapping or disjoint.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class Merge extends Configured implements Tool {
   static final Log LOG = LogFactory.getLog(Merge.class);
   private Path rootdir;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MetaUtils.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MetaUtils.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MetaUtils.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MetaUtils.java Thu Mar  1 17:53:03 2012
@@ -29,6 +29,7 @@ import java.util.TreeMap;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
@@ -54,6 +55,7 @@ import org.apache.hadoop.hbase.regionser
  * how you use this class.  If used during migrations, be careful when using
  * this class to check whether migration is needed.
  */
+@InterfaceAudience.Private
 public class MetaUtils {
   private static final Log LOG = LogFactory.getLog(MetaUtils.class);
   private final Configuration conf;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Methods.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Methods.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Methods.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Methods.java Thu Mar  1 17:53:03 2012
@@ -26,7 +26,11 @@ import java.lang.reflect.UndeclaredThrow
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Methods {
   private static Log LOG = LogFactory.getLog(Methods.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/MurmurHash.java Thu Mar  1 17:53:03 2012
@@ -20,6 +20,9 @@
 
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * This is a very fast, non-cryptographic hash suitable for general hash-based
  * lookup.  See http://murmurhash.googlepages.com/ for more details.
@@ -27,6 +30,8 @@ package org.apache.hadoop.hbase.util;
  * <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
+@InterfaceStability.Stable
 public class MurmurHash extends Hash {
   private static MurmurHash _instance = new MurmurHash();
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Objects.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Objects.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Objects.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Objects.java Thu Mar  1 17:53:03 2012
@@ -26,6 +26,7 @@ import java.util.Comparator;
 import java.util.HashMap;
 import java.util.List;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.KeyValue;
 import org.apache.hadoop.hbase.client.Action;
 import org.apache.hadoop.hbase.client.Delete;
@@ -37,6 +38,7 @@ import org.apache.hadoop.hbase.client.Pu
 /**
  * Utility methods for interacting with object instances.
  */
+@InterfaceAudience.Private
 public class Objects {
   private static class QuantityMap extends HashMap<String,Quantity> {
     public void increment(String type, int count) {

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Pair.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Pair.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Pair.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Pair.java Thu Mar  1 17:53:03 2012
@@ -22,11 +22,16 @@ package org.apache.hadoop.hbase.util;
 
 import java.io.Serializable;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * A generic class for pairs.
  * @param <T1>
  * @param <T2>
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Pair<T1, T2> implements Serializable
 {
   private static final long serialVersionUID = -3986244606585552569L;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/PairOfSameType.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/PairOfSameType.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/PairOfSameType.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/PairOfSameType.java Thu Mar  1 17:53:03 2012
@@ -23,12 +23,16 @@ package org.apache.hadoop.hbase.util;
 import java.util.Iterator;
 
 import org.apache.commons.lang.NotImplementedException;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 
 /**
  * A generic, immutable class for pairs of objects both of type <code>T</code>.
  * @param <T>
  * @see Pair if Types differ.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class PairOfSameType<T> implements Iterable<T> {
   private final T first;
   private final T second;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java Thu Mar  1 17:53:03 2012
@@ -32,6 +32,9 @@ import java.util.concurrent.ConcurrentLi
 import java.util.concurrent.CopyOnWriteArrayList;
 import java.util.concurrent.atomic.AtomicInteger;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  *
  * The <code>PoolMap</code> maps a key to a collection of values, the elements
@@ -50,6 +53,8 @@ import java.util.concurrent.atomic.Atomi
  * @param <V>
  *          the type of the resource being pooled
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class PoolMap<K, V> implements Map<K, V> {
   private PoolType poolType;
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ProtoUtil.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ProtoUtil.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ProtoUtil.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ProtoUtil.java Thu Mar  1 17:53:03 2012
@@ -21,6 +21,9 @@ package org.apache.hadoop.hbase.util;
 import java.io.DataInput;
 import java.io.IOException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
+@InterfaceAudience.Private
 public abstract class ProtoUtil {
 
   /**

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RegionSplitCalculator.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RegionSplitCalculator.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RegionSplitCalculator.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RegionSplitCalculator.java Thu Mar  1 17:53:03 2012
@@ -26,6 +26,7 @@ import java.util.TreeSet;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.util.Bytes.ByteArrayComparator;
 
 import com.google.common.collect.ArrayListMultimap;
@@ -48,6 +49,7 @@ import com.google.common.collect.TreeMul
  * 
  * @param <R>
  */
+@InterfaceAudience.Private
 public class RegionSplitCalculator<R extends KeyRange> {
   final static Log LOG = LogFactory.getLog(RegionSplitCalculator.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RegionSplitter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RegionSplitter.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RegionSplitter.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RegionSplitter.java Thu Mar  1 17:53:03 2012
@@ -40,6 +40,7 @@ import org.apache.commons.lang.ArrayUtil
 import org.apache.commons.lang.StringUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FSDataInputStream;
 import org.apache.hadoop.fs.FSDataOutputStream;
@@ -134,6 +135,7 @@ import com.google.common.collect.Sets;
  * grows too large, use this script to perform a network IO safe rolling split
  * of all regions.
  */
+@InterfaceAudience.Private
 public class RegionSplitter {
   static final Log LOG = LogFactory.getLog(RegionSplitter.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RetryCounter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RetryCounter.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RetryCounter.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RetryCounter.java Thu Mar  1 17:53:03 2012
@@ -23,7 +23,9 @@ import java.util.concurrent.TimeUnit;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 
+@InterfaceAudience.Private
 public class RetryCounter {
   private static final Log LOG = LogFactory.getLog(RetryCounter.class);
   private final int maxRetries;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RetryCounterFactory.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RetryCounterFactory.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RetryCounterFactory.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/RetryCounterFactory.java Thu Mar  1 17:53:03 2012
@@ -21,6 +21,9 @@ package org.apache.hadoop.hbase.util;
 
 import java.util.concurrent.TimeUnit;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
+@InterfaceAudience.Private
 public class RetryCounterFactory {
   private final int maxRetries;
   private final int retryIntervalMillis;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ServerCommandLine.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ServerCommandLine.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ServerCommandLine.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/ServerCommandLine.java Thu Mar  1 17:53:03 2012
@@ -24,6 +24,7 @@ import java.lang.management.ManagementFa
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.conf.Configured;
 import org.apache.hadoop.hbase.HBaseConfiguration;
@@ -33,6 +34,7 @@ import org.apache.hadoop.util.ToolRunner
 /**
  * Base class for command lines that start up various HBase daemons.
  */
+@InterfaceAudience.Private
 public abstract class ServerCommandLine extends Configured implements Tool {
   private static final Log LOG = LogFactory.getLog(ServerCommandLine.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Sleeper.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Sleeper.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Sleeper.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Sleeper.java Thu Mar  1 17:53:03 2012
@@ -21,6 +21,8 @@ package org.apache.hadoop.hbase.util;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.hbase.Stoppable;
 
 /**
@@ -29,6 +31,8 @@ import org.apache.hadoop.hbase.Stoppable
  * will return if the flag is set (rather than go back to sleep until its
  * sleep time is up).
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Sleeper {
   private final Log LOG = LogFactory.getLog(this.getClass().getName());
   private final int period;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/SoftValueSortedMap.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/SoftValueSortedMap.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/SoftValueSortedMap.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/SoftValueSortedMap.java Thu Mar  1 17:53:03 2012
@@ -33,6 +33,9 @@ import java.util.Set;
 import java.util.SortedMap;
 import java.util.TreeMap;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * A SortedMap implementation that uses Soft Reference values
  * internally to make it play well with the GC when in a low-memory
@@ -41,6 +44,8 @@ import java.util.TreeMap;
  * @param <K> key class
  * @param <V> value class
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class SoftValueSortedMap<K,V> implements SortedMap<K,V> {
   private final SortedMap<K, SoftValue<K,V>> internalMap;
   private final ReferenceQueue<V> rq = new ReferenceQueue<V>();

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/SortedCopyOnWriteSet.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/SortedCopyOnWriteSet.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/SortedCopyOnWriteSet.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/SortedCopyOnWriteSet.java Thu Mar  1 17:53:03 2012
@@ -26,6 +26,9 @@ import java.util.Iterator;
 import java.util.SortedSet;
 import java.util.TreeSet;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Simple {@link java.util.SortedSet} implementation that uses an internal
  * {@link java.util.TreeSet} to provide ordering. All mutation operations
@@ -43,6 +46,8 @@ import java.util.TreeSet;
  * @param <E> A class implementing {@link java.lang.Comparable} or able to be
  * compared by a provided comparator.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class SortedCopyOnWriteSet<E> implements SortedSet<E> {
   private SortedSet<E> internalSet;
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Strings.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Strings.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Strings.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Strings.java Thu Mar  1 17:53:03 2012
@@ -19,9 +19,14 @@
  */
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Utility for Strings.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Strings {
   public final static String DEFAULT_SEPARATOR = "=";
   public final static String DEFAULT_KEYVALUE_SEPARATOR = ", ";

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Threads.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Threads.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Threads.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Threads.java Thu Mar  1 17:53:03 2012
@@ -28,11 +28,15 @@ import java.util.concurrent.TimeUnit;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.util.ReflectionUtils;
 
 /**
  * Thread Utility
  */
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Threads {
   protected static final Log LOG = LogFactory.getLog(Threads.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/VersionInfo.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/VersionInfo.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/VersionInfo.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/VersionInfo.java Thu Mar  1 17:53:03 2012
@@ -23,6 +23,8 @@ package org.apache.hadoop.hbase.util;
 import org.apache.commons.logging.LogFactory;
 import java.io.PrintWriter;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.hbase.VersionAnnotation;
 import org.apache.hadoop.hbase.master.HMaster;
 import org.apache.commons.logging.Log;
@@ -31,6 +33,8 @@ import org.apache.commons.logging.Log;
  * This class finds the package info for hbase and the VersionAnnotation
  * information.  Taken from hadoop.  Only name of annotation is different.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class VersionInfo {
   private static final Log LOG = LogFactory.getLog(VersionInfo.class.getName());
   private static Package myPackage;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Writables.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Writables.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Writables.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/Writables.java Thu Mar  1 17:53:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.hadoop.hbase.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.HRegionInfo;
 import org.apache.hadoop.hbase.migration.HRegionInfo090x;
 import org.apache.hadoop.io.DataInputBuffer;
@@ -35,6 +36,7 @@ import java.util.List;
 /**
  * Utility class with methods for manipulating Writable objects
  */
+@InterfaceAudience.Private
 public class Writables {
   /**
    * @param w writable

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java Thu Mar  1 17:53:03 2012
@@ -21,6 +21,8 @@ import java.io.IOException;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.hbase.HConstants;
@@ -38,6 +40,8 @@ import org.apache.hadoop.io.MultipleIOEx
  * 
  * hbase org.apache.hadoop.hbase.util.hbck.OfflineMetaRepair ...
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class OfflineMetaRepair {
   private static final Log LOG = LogFactory.getLog(HBaseFsck.class.getName());
   HBaseFsck fsck;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ClusterId.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ClusterId.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ClusterId.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ClusterId.java Thu Mar  1 17:53:03 2012
@@ -20,6 +20,7 @@
 
 package org.apache.hadoop.hbase.zookeeper;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.zookeeper.KeeperException;
@@ -30,6 +31,7 @@ import org.apache.zookeeper.KeeperExcept
  * master on startup, and is subsequently available to all watchers (including
  * clients).
  */
+@InterfaceAudience.Private
 public class ClusterId {
   private ZooKeeperWatcher watcher;
   private Abortable abortable;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ClusterStatusTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ClusterStatusTracker.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ClusterStatusTracker.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ClusterStatusTracker.java Thu Mar  1 17:53:03 2012
@@ -21,6 +21,7 @@ package org.apache.hadoop.hbase.zookeepe
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.hadoop.hbase.ClusterStatus;
 import org.apache.hadoop.hbase.util.Bytes;
@@ -33,6 +34,7 @@ import org.apache.zookeeper.KeeperExcept
  * cluster attributes up in zookeeper.
  *
  */
+@InterfaceAudience.Private
 public class ClusterStatusTracker extends ZooKeeperNodeTracker {
   private static final Log LOG = LogFactory.getLog(ClusterStatusTracker.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/DrainingServerTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/DrainingServerTracker.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/DrainingServerTracker.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/DrainingServerTracker.java Thu Mar  1 17:53:03 2012
@@ -24,6 +24,7 @@ import java.util.TreeSet;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.hadoop.hbase.ServerName;
 import org.apache.hadoop.hbase.HServerAddress;
@@ -44,6 +45,7 @@ import org.apache.zookeeper.KeeperExcept
  * {@link ServerManager#addServerToDrainList(ServerName)}
  *
  */
+@InterfaceAudience.Private
 public class DrainingServerTracker extends ZooKeeperListener {
   private static final Log LOG = LogFactory.getLog(DrainingServerTracker.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/HQuorumPeer.java Thu Mar  1 17:53:03 2012
@@ -31,6 +31,8 @@ import java.util.List;
 import java.util.Properties;
 import java.util.Map.Entry;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 import org.apache.hadoop.net.DNS;
@@ -47,6 +49,8 @@ import org.apache.zookeeper.server.quoru
  * control over the process. This class uses {@link ZKConfig} to parse the
  * zoo.cfg and inject variables from HBase's site.xml configuration in.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class HQuorumPeer {
   
   /**

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MasterSchemaChangeTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MasterSchemaChangeTracker.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MasterSchemaChangeTracker.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MasterSchemaChangeTracker.java Thu Mar  1 17:53:03 2012
@@ -25,6 +25,7 @@ import java.util.List;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.hadoop.hbase.ServerName;
 import org.apache.hadoop.hbase.master.MasterServices;
@@ -35,6 +36,7 @@ import org.apache.hadoop.hbase.util.Writ
 import org.apache.hadoop.io.Writable;
 import org.apache.zookeeper.KeeperException;
 
+@InterfaceAudience.Private
 public class MasterSchemaChangeTracker extends ZooKeeperNodeTracker {
   public static final Log LOG = LogFactory.getLog(MasterSchemaChangeTracker.class);
   private final MasterServices masterServices;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MetaNodeTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MetaNodeTracker.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MetaNodeTracker.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MetaNodeTracker.java Thu Mar  1 17:53:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.hadoop.hbase.zookeeper;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.hadoop.hbase.HRegionInfo;
 
@@ -29,6 +30,7 @@ import org.apache.hadoop.hbase.HRegionIn
  * receive any notification for that assignment.  You will receive a
  * notification after META has been successfully assigned to a new location.
  */
+@InterfaceAudience.Private
 public class MetaNodeTracker extends ZooKeeperNodeTracker {
   /**
    * Creates a meta node tracker.

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/MiniZooKeeperCluster.java Thu Mar  1 17:53:03 2012
@@ -34,6 +34,8 @@ import java.util.Random;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileUtil;
 import org.apache.hadoop.hbase.HConstants;
@@ -46,6 +48,8 @@ import org.apache.zookeeper.server.persi
  * of redoing it, we should contribute updates to their code which let us more
  * easily access testing helper objects.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class MiniZooKeeperCluster {
   private static final Log LOG = LogFactory.getLog(MiniZooKeeperCluster.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RecoverableZooKeeper.java Thu Mar  1 17:53:03 2012
@@ -26,6 +26,8 @@ import java.util.List;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.util.RetryCounter;
 import org.apache.hadoop.hbase.util.RetryCounterFactory;
@@ -61,6 +63,8 @@ import org.apache.zookeeper.data.Stat;
  * succeeded an the znode it created is "x-352-109".
  * @see "http://wiki.apache.org/hadoop/ZooKeeper/ErrorHandling"
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class RecoverableZooKeeper {
   private static final Log LOG = LogFactory.getLog(RecoverableZooKeeper.class);
   // the actual ZooKeeper client instance

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RegionServerTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RegionServerTracker.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RegionServerTracker.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RegionServerTracker.java Thu Mar  1 17:53:03 2012
@@ -27,6 +27,7 @@ import java.util.TreeSet;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.hadoop.hbase.ServerName;
 import org.apache.hadoop.hbase.master.ServerManager;
@@ -42,6 +43,7 @@ import org.apache.zookeeper.KeeperExcept
  * <p>If an RS node gets deleted, this automatically handles calling of
  * {@link ServerManager#expireServer(ServerName)}
  */
+@InterfaceAudience.Private
 public class RegionServerTracker extends ZooKeeperListener {
   private static final Log LOG = LogFactory.getLog(RegionServerTracker.class);
   private NavigableSet<ServerName> regionServers = new TreeSet<ServerName>();

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RootRegionTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RootRegionTracker.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RootRegionTracker.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/RootRegionTracker.java Thu Mar  1 17:53:03 2012
@@ -19,6 +19,7 @@
  */
 package org.apache.hadoop.hbase.zookeeper;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.hadoop.hbase.ServerName;
 import org.apache.hadoop.hbase.catalog.RootLocationEditor;
@@ -32,6 +33,7 @@ import org.apache.zookeeper.KeeperExcept
  * out of <code>RegionServerServices</code>.
  * This class has a watcher on the root location and notices changes.
  */
+@InterfaceAudience.Private
 public class RootRegionTracker extends ZooKeeperNodeTracker {
   /**
    * Creates a root region location tracker.

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/SchemaChangeTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/SchemaChangeTracker.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/SchemaChangeTracker.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/SchemaChangeTracker.java Thu Mar  1 17:53:03 2012
@@ -20,6 +20,7 @@ package org.apache.hadoop.hbase.zookeepe
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.hadoop.hbase.monitoring.MonitoredTask;
 import org.apache.hadoop.hbase.monitoring.TaskMonitor;
@@ -40,6 +41,7 @@ import java.util.List;
  * alter schema requests from master and updates the status once the schema change
  * is complete.
  */
+@InterfaceAudience.Private
 public class SchemaChangeTracker extends ZooKeeperNodeTracker {
   public static final Log LOG = LogFactory.getLog(SchemaChangeTracker.class);
   private RegionServerServices regionServer = null;

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKAssign.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKAssign.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKAssign.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKAssign.java Thu Mar  1 17:53:03 2012
@@ -23,6 +23,8 @@ import java.util.List;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.hbase.HRegionInfo;
 import org.apache.hadoop.hbase.ServerName;
 import org.apache.hadoop.hbase.executor.RegionTransitionData;
@@ -88,6 +90,8 @@ import org.apache.zookeeper.data.Stat;
  *   </li>
  * </ol>
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class ZKAssign {
   private static final Log LOG = LogFactory.getLog(ZKAssign.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java Thu Mar  1 17:53:03 2012
@@ -30,6 +30,8 @@ import java.util.Map.Entry;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.util.StringUtils;
@@ -37,6 +39,8 @@ import org.apache.hadoop.util.StringUtil
 /**
  * Utility methods for reading, parsing, and building zookeeper configuration.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class ZKConfig {
   private static final Log LOG = LogFactory.getLog(ZKConfig.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKLeaderManager.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKLeaderManager.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKLeaderManager.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKLeaderManager.java Thu Mar  1 17:53:03 2012
@@ -22,6 +22,8 @@ import java.util.concurrent.atomic.Atomi
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.hbase.Stoppable;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.zookeeper.KeeperException;
@@ -36,6 +38,8 @@ import org.apache.zookeeper.KeeperExcept
  * be removed, and all waiting instances will be notified, with the race
  * to claim the leader znode beginning all over again.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class ZKLeaderManager extends ZooKeeperListener {
   private static Log LOG = LogFactory.getLog(ZKLeaderManager.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java Thu Mar  1 17:53:03 2012
@@ -23,6 +23,8 @@ package org.apache.hadoop.hbase.zookeepe
 import java.util.Properties;
 import java.util.Map.Entry;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.HBaseConfiguration;
 
@@ -30,6 +32,8 @@ import org.apache.hadoop.hbase.HBaseConf
  * Tool for reading ZooKeeper servers from HBase XML configuration and producing
  * a line-by-line list for use by bash scripts.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class ZKServerTool {
   /**
    * Run the tool.

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKSplitLog.java Thu Mar  1 17:53:03 2012
@@ -31,6 +31,7 @@ import java.util.concurrent.atomic.Atomi
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
 import org.apache.hadoop.hbase.HConstants;
@@ -42,6 +43,7 @@ import org.apache.hadoop.hbase.util.Byte
  * Common methods and attributes used by {@link SplitLogManager} and
  * {@link SplitLogWorker}
  */
+@InterfaceAudience.Private
 public class ZKSplitLog {
   private static final Log LOG = LogFactory.getLog(ZKSplitLog.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTable.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTable.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTable.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKTable.java Thu Mar  1 17:53:03 2012
@@ -27,6 +27,7 @@ import java.util.Set;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.hbase.master.AssignmentManager;
 import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.zookeeper.KeeperException;
@@ -42,6 +43,7 @@ import org.apache.zookeeper.KeeperExcept
  * <p>To save on trips to the zookeeper ensemble, internally we cache table
  * state.
  */
+@InterfaceAudience.Private
 public class ZKTable {
   // A znode will exist under the table directory if it is in any of the
   // following states: {@link TableState#ENABLING} , {@link TableState#DISABLING},

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKUtil.java Thu Mar  1 17:53:03 2012
@@ -32,6 +32,8 @@ import java.util.Properties;
 import org.apache.commons.lang.StringUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.EmptyWatcher;
 import org.apache.hadoop.hbase.HConstants;
@@ -58,6 +60,8 @@ import org.apache.zookeeper.data.Stat;
  * zookeeper exception, so callers of these methods must handle appropriately.
  * If ZK is required for the operation, the server will need to be aborted.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class ZKUtil {
   private static final Log LOG = LogFactory.getLog(ZKUtil.class);
 

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperListener.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperListener.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperListener.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperListener.java Thu Mar  1 17:53:03 2012
@@ -19,6 +19,9 @@
  */
 package org.apache.hadoop.hbase.zookeeper;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 
 /**
  * Base class for internal listeners of ZooKeeper events.
@@ -32,6 +35,8 @@ package org.apache.hadoop.hbase.zookeepe
  * Note that the watcher will be blocked when invoking methods in listeners so
  * they must not be long-running.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public abstract class ZooKeeperListener {
 
   // Reference to the zk watcher which also contains configuration and constants

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.java Thu Mar  1 17:53:03 2012
@@ -21,6 +21,8 @@ package org.apache.hadoop.hbase.zookeepe
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.zookeeper.KeeperException;
 
@@ -33,6 +35,8 @@ import org.apache.zookeeper.KeeperExcept
  * <p>This is the base class used by trackers in both the Master and
  * RegionServers.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public abstract class ZooKeeperNodeTracker extends ZooKeeperListener {
   
   static final Log LOG = LogFactory.getLog(ZooKeeperNodeTracker.class);

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java Thu Mar  1 17:53:03 2012
@@ -29,6 +29,8 @@ import java.util.concurrent.CountDownLat
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.Abortable;
 import org.apache.hadoop.hbase.HConstants;
@@ -51,6 +53,8 @@ import org.apache.zookeeper.data.ACL;
  * <p>This class also holds and manages the connection to ZooKeeper.  Code to
  * deal with connection related events and exceptions are handled here.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class ZooKeeperWatcher implements Watcher, Abortable {
   private static final Log LOG = LogFactory.getLog(ZooKeeperWatcher.class);
 

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java Thu Mar  1 17:53:03 2012
@@ -44,6 +44,8 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.commons.logging.impl.Jdk14Logger;
 import org.apache.commons.logging.impl.Log4JLogger;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
@@ -94,6 +96,8 @@ import org.apache.zookeeper.ZooKeeper;
  * hbase-site.xml for logging and test-run configuration.  It does not set
  * logging levels nor make changes to configuration parameters.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class HBaseTestingUtility {
   private static final Log LOG = LogFactory.getLog(HBaseTestingUtility.class);
   private Configuration conf;

Modified: hbase/trunk/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java?rev=1295710&r1=1295709&r2=1295710&view=diff
==============================================================================
--- hbase/trunk/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java (original)
+++ hbase/trunk/src/test/java/org/apache/hadoop/hbase/MiniHBaseCluster.java Thu Mar  1 17:53:03 2012
@@ -26,6 +26,8 @@ import java.util.List;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.hbase.client.HConnectionManager;
@@ -44,6 +46,8 @@ import org.apache.hadoop.io.MapWritable;
  * if we are running on DistributedFilesystem, create a FileSystem instance
  * each and will close down their instance on the way out.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class MiniHBaseCluster {
   static final Log LOG = LogFactory.getLog(MiniHBaseCluster.class.getName());
   private Configuration conf;



Mime
View raw message