hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r953881 [4/5] - in /hadoop/common/trunk: ./ src/java/org/apache/hadoop/ src/java/org/apache/hadoop/classification/ src/java/org/apache/hadoop/conf/ src/java/org/apache/hadoop/fs/ src/java/org/apache/hadoop/fs/ftp/ src/java/org/apache/hadoop...
Date Fri, 11 Jun 2010 21:35:05 GMT
Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/NullContext.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/NullContext.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/NullContext.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/NullContext.java Fri Jun 11 21:34:56 2010
@@ -19,27 +19,35 @@
 
 package org.apache.hadoop.metrics.spi;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Null metrics context: a metrics context which does nothing.  Used as the
  * default context, so that no performance data is emitted if no configuration
  * data is found.
  * 
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class NullContext extends AbstractMetricsContext {
     
   /** Creates a new instance of NullContext */
+  @InterfaceAudience.Private
   public NullContext() {
   }
     
   /**
    * Do-nothing version of startMonitoring
    */
+  @InterfaceAudience.Private
   public void startMonitoring() {
   }
     
   /**
    * Do-nothing version of emitRecord
    */
+  @InterfaceAudience.Private
   protected void emitRecord(String contextName, String recordName,
                             OutputRecord outRec) 
   {}
@@ -47,12 +55,14 @@ public class NullContext extends Abstrac
   /**
    * Do-nothing version of update
    */
+  @InterfaceAudience.Private
   protected void update(MetricsRecordImpl record) {
   }
     
   /**
    * Do-nothing version of remove
    */
+  @InterfaceAudience.Private
   protected void remove(MetricsRecordImpl record) {
   }
 }

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.java Fri Jun 11 21:34:56 2010
@@ -18,6 +18,8 @@
 
 package org.apache.hadoop.metrics.spi;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.metrics.ContextFactory;
 import org.apache.hadoop.metrics.MetricsException;
 
@@ -33,15 +35,18 @@ import org.apache.hadoop.metrics.Metrics
  *  is the AbstractMetricsContext is good enough.
  * 
  */
-
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class NullContextWithUpdateThread extends AbstractMetricsContext {
   
   private static final String PERIOD_PROPERTY = "period";
     
   /** Creates a new instance of NullContextWithUpdateThread */
+  @InterfaceAudience.Private
   public NullContextWithUpdateThread() {
   }
   
+  @InterfaceAudience.Private
   public void init(String contextName, ContextFactory factory) {
     super.init(contextName, factory);
     parseAndSetPeriod(PERIOD_PROPERTY);
@@ -51,6 +56,7 @@ public class NullContextWithUpdateThread
   /**
    * Do-nothing version of emitRecord
    */
+  @InterfaceAudience.Private
   protected void emitRecord(String contextName, String recordName,
                             OutputRecord outRec) 
   {}
@@ -58,12 +64,14 @@ public class NullContextWithUpdateThread
   /**
    * Do-nothing version of update
    */
+  @InterfaceAudience.Private
   protected void update(MetricsRecordImpl record) {
   }
     
   /**
    * Do-nothing version of remove
    */
+  @InterfaceAudience.Private
   protected void remove(MetricsRecordImpl record) {
   }
 }

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/OutputRecord.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/OutputRecord.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/OutputRecord.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/OutputRecord.java Fri Jun 11 21:34:56 2010
@@ -26,12 +26,16 @@ import java.util.Set;
 import java.util.TreeMap;
 import java.util.Map.Entry;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.metrics.spi.AbstractMetricsContext.MetricMap;
 import org.apache.hadoop.metrics.spi.AbstractMetricsContext.TagMap;
 
 /**
  * Represents a record of metric data to be sent to a metrics system.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class OutputRecord {
     
   private TagMap tagMap;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/Util.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/Util.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/Util.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/spi/Util.java Fri Jun 11 21:34:56 2010
@@ -26,9 +26,14 @@ import java.net.SocketAddress;
 import java.util.ArrayList;
 import java.util.List;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Static utility methods
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class Util {
     
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MBeanUtil.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MBeanUtil.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MBeanUtil.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MBeanUtil.java Fri Jun 11 21:34:56 2010
@@ -25,6 +25,8 @@ import javax.management.MalformedObjectN
 import javax.management.ObjectName;
 import javax.management.InstanceAlreadyExistsException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
 
 /**
  * This util class provides a method to register an MBean using
@@ -32,6 +34,7 @@ import javax.management.InstanceAlreadyE
  *  for {link {@link #registerMBean(String, String, Object)}
  *
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
 public class MBeanUtil {
 	
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsBase.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsBase.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsBase.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsBase.java Fri Jun 11 21:34:56 2010
@@ -17,6 +17,7 @@
  */
 package org.apache.hadoop.metrics.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.metrics.MetricsRecord;
 
 /**
@@ -24,6 +25,7 @@ import org.apache.hadoop.metrics.Metrics
  * This is base class for all metrics
  *
  */
+@InterfaceAudience.Private
 public abstract class MetricsBase {
   public static final String NO_DESCRIPTION = "NoDescription";
   final private String name;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java Fri Jun 11 21:34:56 2010
@@ -33,6 +33,7 @@ import javax.management.MBeanInfo;
 import javax.management.MBeanOperationInfo;
 import javax.management.ReflectionException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.metrics.MetricsUtil;
 
 
@@ -52,6 +53,7 @@ import org.apache.hadoop.metrics.Metrics
  * 
  *
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
 public abstract class MetricsDynamicMBeanBase implements DynamicMBean {
   private final static String AVG_TIME = "AvgTime";
   private final static String MIN_TIME = "MinTime";

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsIntValue.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsIntValue.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsIntValue.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsIntValue.java Fri Jun 11 21:34:56 2010
@@ -17,6 +17,7 @@
  */
 package org.apache.hadoop.metrics.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.metrics.MetricsRecord;
 import org.apache.hadoop.util.StringUtils;
 
@@ -30,6 +31,7 @@ import org.apache.commons.logging.LogFac
  * call.
  *
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
 public class MetricsIntValue extends MetricsBase {  
 
   private static final Log LOG =

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsLongValue.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsLongValue.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsLongValue.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsLongValue.java Fri Jun 11 21:34:56 2010
@@ -17,6 +17,7 @@
  */
 package org.apache.hadoop.metrics.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.metrics.MetricsRecord;
 
 
@@ -27,6 +28,7 @@ import org.apache.hadoop.metrics.Metrics
  * call.
  *
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
 public class MetricsLongValue extends MetricsBase{  
   private long value;
   private boolean changed;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsRegistry.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsRegistry.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsRegistry.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsRegistry.java Fri Jun 11 21:34:56 2010
@@ -21,6 +21,8 @@ import java.util.Collection;
 import java.util.HashMap;
 import java.util.Map;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+
 /**
  * 
  * This is the registry for metrics.
@@ -28,6 +30,7 @@ import java.util.Map;
  * in a registry for those metrics which is also stored in the the holding class.
  *
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
 public class MetricsRegistry {
   private Map<String, MetricsBase> metricsList = new HashMap<String, MetricsBase>();
 

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingInt.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingInt.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingInt.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingInt.java Fri Jun 11 21:34:56 2010
@@ -17,6 +17,7 @@
  */
 package org.apache.hadoop.metrics.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.metrics.MetricsRecord;
 import org.apache.hadoop.util.StringUtils;
 
@@ -34,6 +35,7 @@ import org.apache.commons.logging.LogFac
  * @see org.apache.hadoop.metrics.util.MetricsTimeVaryingRate
  *
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
 public class MetricsTimeVaryingInt extends MetricsBase {
 
   private static final Log LOG =

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingLong.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingLong.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingLong.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingLong.java Fri Jun 11 21:34:56 2010
@@ -18,6 +18,7 @@ package org.apache.hadoop.metrics.util;
  * limitations under the License.
  */
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.metrics.MetricsRecord;
 import org.apache.hadoop.util.StringUtils;
 
@@ -35,6 +36,7 @@ import org.apache.commons.logging.LogFac
  * @see org.apache.hadoop.metrics.util.MetricsTimeVaryingRate
  *
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
 public class MetricsTimeVaryingLong extends MetricsBase{
 
   private static final Log LOG =

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingRate.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingRate.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingRate.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingRate.java Fri Jun 11 21:34:56 2010
@@ -17,6 +17,7 @@
  */
 package org.apache.hadoop.metrics.util;
 
+import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.metrics.MetricsRecord;
 import org.apache.hadoop.util.StringUtils;
 
@@ -32,6 +33,7 @@ import org.apache.commons.logging.LogFac
  * a method to reset the min-max.
  *
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
 public class MetricsTimeVaryingRate extends MetricsBase {
 
   private static final Log LOG =

Added: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/package-info.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/package-info.java?rev=953881&view=auto
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/package-info.java (added)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/package-info.java Fri Jun 11 21:34:56 2010
@@ -0,0 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+@InterfaceAudience.LimitedPrivate({"HBase", "HDFS", "MapReduce"})
+@InterfaceStability.Evolving
+package org.apache.hadoop.metrics.util;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;

Propchange: hadoop/common/trunk/src/java/org/apache/hadoop/metrics/util/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/CachedDNSToSwitchMapping.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/CachedDNSToSwitchMapping.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/CachedDNSToSwitchMapping.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/CachedDNSToSwitchMapping.java Fri Jun 11 21:34:56 2010
@@ -22,6 +22,9 @@ import java.util.List;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * A cached implementation of DNSToSwitchMapping that takes an
  * raw DNSToSwitchMapping and stores the resolved network location in 
@@ -29,6 +32,8 @@ import java.util.concurrent.ConcurrentHa
  * will get its location from the cache. 
  *
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class CachedDNSToSwitchMapping implements DNSToSwitchMapping {
   private Map<String, String> cache = new ConcurrentHashMap<String, String>();
   protected DNSToSwitchMapping rawMapping;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/DNS.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/DNS.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/DNS.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/DNS.java Fri Jun 11 21:34:56 2010
@@ -20,6 +20,8 @@ package org.apache.hadoop.net;
 
 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 java.net.InetAddress;
 import java.net.NetworkInterface;
@@ -40,6 +42,8 @@ import javax.naming.directory.InitialDir
  * 
  * 
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Unstable
 public class DNS {
 
   private static final Log LOG = LogFactory.getLog(DNS.class);

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/DNSToSwitchMapping.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/DNSToSwitchMapping.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/DNSToSwitchMapping.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/DNSToSwitchMapping.java Fri Jun 11 21:34:56 2010
@@ -19,11 +19,16 @@ package org.apache.hadoop.net;
 
 import java.util.List;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * An interface that should be implemented to allow pluggable 
  * DNS-name/IP-address to RackID resolvers.
  *
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public interface DNSToSwitchMapping {
   /**
    * Resolves a list of DNS-names/IP-addresses and returns back a list of

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/NetUtils.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/NetUtils.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/NetUtils.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/NetUtils.java Fri Jun 11 21:34:56 2010
@@ -36,12 +36,16 @@ import javax.net.SocketFactory;
 
 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.Path;
 import org.apache.hadoop.ipc.Server;
 import org.apache.hadoop.ipc.VersionedProtocol;
 import org.apache.hadoop.util.ReflectionUtils;
 
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Unstable
 public class NetUtils {
   private static final Log LOG = LogFactory.getLog(NetUtils.class);
   

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/NetworkTopology.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/NetworkTopology.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/NetworkTopology.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/NetworkTopology.java Fri Jun 11 21:34:56 2010
@@ -25,6 +25,8 @@ import java.util.concurrent.locks.Reentr
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 
 /** The class represents a cluster of computer with a tree hierarchical
  * network topology.
@@ -35,6 +37,8 @@ import org.apache.commons.logging.LogFac
  * or racks.  
  * 
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Unstable
 public class NetworkTopology {
   public final static String DEFAULT_RACK = "/default-rack";
   public final static int DEFAULT_HOST_LEVEL = 2;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/Node.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/Node.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/Node.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/Node.java Fri Jun 11 21:34:56 2010
@@ -17,6 +17,9 @@
  */
 package org.apache.hadoop.net;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /** The interface defines a node in a network topology.
  * A node may be a leave representing a data node or an inner
  * node representing a datacenter or rack.
@@ -27,6 +30,8 @@ package org.apache.hadoop.net;
  * network location is /dog/orange
  */
 
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Unstable
 public interface Node {
   /** Return the string representation of this node's network location */
   public String getNetworkLocation();

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/NodeBase.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/NodeBase.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/NodeBase.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/NodeBase.java Fri Jun 11 21:34:56 2010
@@ -17,10 +17,15 @@
  */
 package org.apache.hadoop.net;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /** A base class that implements interface Node
  * 
  */
 
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Unstable
 public class NodeBase implements Node {
   public final static char PATH_SEPARATOR = '/';
   public final static String PATH_SEPARATOR_STR = "/";

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/ScriptBasedMapping.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/ScriptBasedMapping.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/ScriptBasedMapping.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/ScriptBasedMapping.java Fri Jun 11 21:34:56 2010
@@ -25,6 +25,8 @@ import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.util.*;
 import org.apache.hadoop.util.Shell.ShellCommandExecutor;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.*;
 import org.apache.hadoop.fs.CommonConfigurationKeys;
 
@@ -32,6 +34,8 @@ import org.apache.hadoop.fs.CommonConfig
  * This class implements the {@link DNSToSwitchMapping} interface using a 
  * script configured via net.topology.script.file.name .
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public final class ScriptBasedMapping extends CachedDNSToSwitchMapping 
 implements Configurable
 {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/SocketInputStream.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/SocketInputStream.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/SocketInputStream.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/SocketInputStream.java Fri Jun 11 21:34:56 2010
@@ -28,6 +28,8 @@ import java.nio.channels.ReadableByteCha
 import java.nio.channels.SelectableChannel;
 import java.nio.channels.SelectionKey;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 
 /**
  * This implements an input stream that can have a timeout while reading.
@@ -38,6 +40,8 @@ import java.nio.channels.SelectionKey;
  * IllegalBlockingModeException. 
  * Please use {@link SocketOutputStream} for writing.
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Unstable
 public class SocketInputStream extends InputStream
                                implements ReadableByteChannel {
 

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/SocketOutputStream.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/SocketOutputStream.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/SocketOutputStream.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/SocketOutputStream.java Fri Jun 11 21:34:56 2010
@@ -29,6 +29,9 @@ import java.nio.channels.SelectableChann
 import java.nio.channels.SelectionKey;
 import java.nio.channels.WritableByteChannel;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * This implements an output stream that can have a timeout while writing.
  * This sets non-blocking flag on the socket channel.
@@ -38,6 +41,8 @@ import java.nio.channels.WritableByteCha
  * llegalBlockingModeException.
  * Please use {@link SocketInputStream} for reading.
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Unstable
 public class SocketOutputStream extends OutputStream 
                                 implements WritableByteChannel {                                
   

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/SocksSocketFactory.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/SocksSocketFactory.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/SocksSocketFactory.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/SocksSocketFactory.java Fri Jun 11 21:34:56 2010
@@ -26,12 +26,16 @@ import java.net.UnknownHostException;
 
 import javax.net.SocketFactory;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configurable;
 import org.apache.hadoop.conf.Configuration;
 
 /**
  * Specialized SocketFactory to create sockets with a SOCKS proxy
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class SocksSocketFactory extends SocketFactory implements
     Configurable {
 

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/net/StandardSocketFactory.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/net/StandardSocketFactory.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/net/StandardSocketFactory.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/net/StandardSocketFactory.java Fri Jun 11 21:34:56 2010
@@ -26,9 +26,14 @@ import java.nio.channels.SocketChannel;
 
 import javax.net.SocketFactory;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Specialized SocketFactory to create sockets with a SOCKS proxy
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class StandardSocketFactory extends SocketFactory {
 
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordInput.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordInput.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordInput.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordInput.java Fri Jun 11 21:34:56 2010
@@ -23,10 +23,15 @@ import java.io.IOException;
 import java.io.DataInputStream;
 import java.io.InputStream;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class BinaryRecordInput implements RecordInput {
     
   private DataInput in;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordOutput.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordOutput.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordOutput.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordOutput.java Fri Jun 11 21:34:56 2010
@@ -25,10 +25,15 @@ import java.io.DataOutput;
 import java.io.DataOutputStream;
 import java.io.OutputStream;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class BinaryRecordOutput implements RecordOutput {
     
   private DataOutput out;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/Buffer.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/Buffer.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/Buffer.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/Buffer.java Fri Jun 11 21:34:56 2010
@@ -20,6 +20,9 @@ package org.apache.hadoop.record;
 
 import java.io.UnsupportedEncodingException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * A byte sequence that is used as a Java native type for buffer.
  * It is resizable and distinguishes between the count of the seqeunce and
@@ -28,6 +31,8 @@ import java.io.UnsupportedEncodingExcept
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Buffer implements Comparable, Cloneable {
   /** Number of valid bytes in this.bytes. */
   private int count;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordInput.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordInput.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordInput.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordInput.java Fri Jun 11 21:34:56 2010
@@ -24,10 +24,15 @@ import java.io.IOException;
 import java.io.PushbackReader;
 import java.io.UnsupportedEncodingException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class CsvRecordInput implements RecordInput {
     
   private PushbackReader stream;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordOutput.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordOutput.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordOutput.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordOutput.java Fri Jun 11 21:34:56 2010
@@ -25,10 +25,15 @@ import java.io.PrintStream;
 import java.io.OutputStream;
 import java.io.UnsupportedEncodingException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class CsvRecordOutput implements RecordOutput {
 
   private PrintStream stream;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/Index.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/Index.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/Index.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/Index.java Fri Jun 11 21:34:56 2010
@@ -18,6 +18,9 @@
 
 package org.apache.hadoop.record;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Interface that acts as an iterator for deserializing maps.
  * The deserializer returns an instance that the record uses to
@@ -34,6 +37,8 @@ package org.apache.hadoop.record;
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public interface Index {
   boolean done();
   void incr();

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/Record.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/Record.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/Record.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/Record.java Fri Jun 11 21:34:56 2010
@@ -22,6 +22,9 @@ import java.io.DataInput;
 import java.io.DataOutput;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
+
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.io.WritableComparable;
 
 /**
@@ -30,6 +33,8 @@ import org.apache.hadoop.io.WritableComp
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public abstract class Record implements WritableComparable, Cloneable {
   
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordComparator.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordComparator.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordComparator.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordComparator.java Fri Jun 11 21:34:56 2010
@@ -18,6 +18,8 @@
 
 package org.apache.hadoop.record;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.io.WritableComparable;
 import org.apache.hadoop.io.WritableComparator;
 
@@ -27,6 +29,8 @@ import org.apache.hadoop.io.WritableComp
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public abstract class RecordComparator extends WritableComparator {
   
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordInput.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordInput.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordInput.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordInput.java Fri Jun 11 21:34:56 2010
@@ -20,12 +20,17 @@ package org.apache.hadoop.record;
 
 import java.io.IOException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Interface that all the Deserializers have to implement.
  * 
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public interface RecordInput {
   /**
    * Read a byte from serialized record.

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordOutput.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordOutput.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordOutput.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordOutput.java Fri Jun 11 21:34:56 2010
@@ -22,12 +22,17 @@ import java.io.IOException;
 import java.util.TreeMap;
 import java.util.ArrayList;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Interface that alll the serializers have to implement.
  * 
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public interface RecordOutput {
   /**
    * Write a byte to serialized record.

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/Utils.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/Utils.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/Utils.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/Utils.java Fri Jun 11 21:34:56 2010
@@ -21,6 +21,9 @@ package org.apache.hadoop.record;
 import java.io.DataInput;
 import java.io.DataOutput;
 import java.io.IOException;
+
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.io.WritableComparator;
 import org.apache.hadoop.io.WritableUtils;
 
@@ -30,6 +33,8 @@ import org.apache.hadoop.io.WritableUtil
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Utils {
   
   /** Cannot create a new instance of Utils */

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordInput.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordInput.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordInput.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordInput.java Fri Jun 11 21:34:56 2010
@@ -22,6 +22,8 @@ import java.io.InputStream;
 import java.io.IOException;
 import java.util.ArrayList;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.xml.sax.*;
 import org.xml.sax.helpers.DefaultHandler;
 import javax.xml.parsers.SAXParserFactory;
@@ -33,6 +35,8 @@ import javax.xml.parsers.SAXParser;
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class XmlRecordInput implements RecordInput {
     
   static private class Value {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordOutput.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordOutput.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordOutput.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordOutput.java Fri Jun 11 21:34:56 2010
@@ -26,12 +26,17 @@ import java.io.OutputStream;
 import java.io.UnsupportedEncodingException;
 import java.util.Stack;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * XML Serializer.
  * 
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class XmlRecordOutput implements RecordOutput {
 
   private PrintStream stream;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/CodeBuffer.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/CodeBuffer.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/CodeBuffer.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/CodeBuffer.java Fri Jun 11 21:34:56 2010
@@ -19,12 +19,17 @@ package org.apache.hadoop.record.compile
 
 import java.util.ArrayList;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * A wrapper around StringBuffer that automatically does indentation
  * 
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class CodeBuffer {
   
   static private ArrayList<Character> startMarkers = new ArrayList<Character>();

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/Consts.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/Consts.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/Consts.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/Consts.java Fri Jun 11 21:34:56 2010
@@ -20,6 +20,9 @@ package org.apache.hadoop.record.compile
 
 import java.io.IOException;
 import java.util.Iterator;
+
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.RecordInput;
 
 /**
@@ -28,6 +31,8 @@ import org.apache.hadoop.record.RecordIn
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Consts {
   
   /** Cannot create a new instance */

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBoolean.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBoolean.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBoolean.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBoolean.java Fri Jun 11 21:34:56 2010
@@ -18,11 +18,16 @@
 
 package org.apache.hadoop.record.compiler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JBoolean extends JType {
   
   class JavaBoolean extends JType.JavaType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBuffer.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBuffer.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBuffer.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBuffer.java Fri Jun 11 21:34:56 2010
@@ -18,6 +18,9 @@
 
 package org.apache.hadoop.record.compiler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 
 /**
  * Code generator for "buffer" type.
@@ -25,6 +28,8 @@ package org.apache.hadoop.record.compile
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JBuffer extends JCompType {
   
   class JavaBuffer extends JavaCompType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JByte.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JByte.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JByte.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JByte.java Fri Jun 11 21:34:56 2010
@@ -18,12 +18,17 @@
 
 package org.apache.hadoop.record.compiler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Code generator for "byte" type.
  * 
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JByte extends JType {
   
   class JavaByte extends JavaType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JDouble.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JDouble.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JDouble.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JDouble.java Fri Jun 11 21:34:56 2010
@@ -18,11 +18,16 @@
 
 package org.apache.hadoop.record.compiler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JDouble extends JType {
   
   class JavaDouble extends JavaType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JField.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JField.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JField.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JField.java Fri Jun 11 21:34:56 2010
@@ -18,12 +18,17 @@
 
 package org.apache.hadoop.record.compiler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * A thin wrappper around record field.
  * 
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JField<T> {
   
   private String name;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFile.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFile.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFile.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFile.java Fri Jun 11 21:34:56 2010
@@ -21,6 +21,9 @@ package org.apache.hadoop.record.compile
 import java.io.IOException;
 import java.util.ArrayList;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Container for the Hadoop Record DDL.
  * The main components of the file are filename, list of included files,
@@ -29,6 +32,8 @@ import java.util.ArrayList;
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JFile {
   /** Possibly full name of the file */
   private String mName;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFloat.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFloat.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFloat.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFloat.java Fri Jun 11 21:34:56 2010
@@ -18,10 +18,15 @@
 
 package org.apache.hadoop.record.compiler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JFloat extends JType {
   
   class JavaFloat extends JavaType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JInt.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JInt.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JInt.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JInt.java Fri Jun 11 21:34:56 2010
@@ -18,6 +18,9 @@
 
 package org.apache.hadoop.record.compiler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 
 /**
  * Code generator for "int" type
@@ -25,6 +28,8 @@ package org.apache.hadoop.record.compile
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JInt extends JType {
   
   class JavaInt extends JavaType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JLong.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JLong.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JLong.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JLong.java Fri Jun 11 21:34:56 2010
@@ -18,12 +18,17 @@
 
 package org.apache.hadoop.record.compiler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Code generator for "long" type
  * 
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JLong extends JType {
   
   class JavaLong extends JavaType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JMap.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JMap.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JMap.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JMap.java Fri Jun 11 21:34:56 2010
@@ -20,11 +20,16 @@ package org.apache.hadoop.record.compile
 
 import java.util.Map;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JMap extends JCompType {
   
   static private int level = 0;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JRecord.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JRecord.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JRecord.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JRecord.java Fri Jun 11 21:34:56 2010
@@ -23,10 +23,15 @@ import java.io.FileWriter;
 import java.io.IOException;
 import java.util.*;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JRecord extends JCompType {
   
   class JavaRecord extends JavaCompType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JString.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JString.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JString.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JString.java Fri Jun 11 21:34:56 2010
@@ -18,11 +18,16 @@
 
 package org.apache.hadoop.record.compiler;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JString extends JCompType {
     
   class JavaString extends JavaCompType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JType.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JType.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JType.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JType.java Fri Jun 11 21:34:56 2010
@@ -20,6 +20,9 @@ package org.apache.hadoop.record.compile
 
 import java.util.Map;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 
 /**
  * Abstract Base class for all types supported by Hadoop Record I/O.
@@ -27,6 +30,8 @@ import java.util.Map;
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 abstract public class JType {
   
   static String toCamelCase(String name) {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JVector.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JVector.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JVector.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JVector.java Fri Jun 11 21:34:56 2010
@@ -20,10 +20,15 @@ package org.apache.hadoop.record.compile
 
 import java.util.Map;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class JVector extends JCompType {
   
   static private int level = 0;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/ant/RccTask.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/ant/RccTask.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/ant/RccTask.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/ant/RccTask.java Fri Jun 11 21:34:56 2010
@@ -19,6 +19,9 @@ package org.apache.hadoop.record.compile
 
 import java.io.File;
 import java.util.ArrayList;
+
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.compiler.generated.Rcc;
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.DirectoryScanner;
@@ -50,6 +53,8 @@ import org.apache.tools.ant.types.FileSe
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class RccTask extends Task {
   
   private String language = "java";

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/ParseException.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/ParseException.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/ParseException.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/ParseException.java Fri Jun 11 21:34:56 2010
@@ -19,6 +19,9 @@
 
 package org.apache.hadoop.record.compiler.generated;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * This exception is thrown when parse errors are encountered.
  * You can explicitly create objects of this exception type by
@@ -31,6 +34,8 @@ package org.apache.hadoop.record.compile
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class ParseException extends Exception {
 
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java Fri Jun 11 21:34:56 2010
@@ -19,6 +19,8 @@
 
 package org.apache.hadoop.record.compiler.generated;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.compiler.*;
 import java.util.ArrayList;
 import java.util.Hashtable;
@@ -32,6 +34,8 @@ import java.io.IOException;
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Rcc implements RccConstants {
   private static String language = "java";
   private static String destDir = ".";

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccConstants.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccConstants.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccConstants.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccConstants.java Fri Jun 11 21:34:56 2010
@@ -19,10 +19,15 @@
 
 package org.apache.hadoop.record.compiler.generated;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public interface RccConstants {
 
   int EOF = 0;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccTokenManager.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccTokenManager.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccTokenManager.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccTokenManager.java Fri Jun 11 21:34:56 2010
@@ -18,6 +18,8 @@
  */
 
 package org.apache.hadoop.record.compiler.generated;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.compiler.*;
 import java.util.ArrayList;
 import java.util.Hashtable;
@@ -31,6 +33,8 @@ import java.io.IOException;
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class RccTokenManager implements RccConstants
 {
   public  java.io.PrintStream debugStream = System.out;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java Fri Jun 11 21:34:56 2010
@@ -19,6 +19,9 @@
 
 package org.apache.hadoop.record.compiler.generated;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * An implementation of interface CharStream, where the stream is assumed to
  * contain only ASCII characters (without unicode processing).
@@ -26,6 +29,8 @@ package org.apache.hadoop.record.compile
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class SimpleCharStream
 {
   public static final boolean staticFlag = false;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Token.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Token.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Token.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Token.java Fri Jun 11 21:34:56 2010
@@ -19,12 +19,17 @@
 
 package org.apache.hadoop.record.compiler.generated;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Describes the input token stream.
  * 
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Token {
 
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/TokenMgrError.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/TokenMgrError.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/TokenMgrError.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/TokenMgrError.java Fri Jun 11 21:34:56 2010
@@ -19,10 +19,15 @@
 
 package org.apache.hadoop.record.compiler.generated;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class TokenMgrError extends Error
 {
   /*

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/FieldTypeInfo.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/FieldTypeInfo.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/FieldTypeInfo.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/FieldTypeInfo.java Fri Jun 11 21:34:56 2010
@@ -20,6 +20,8 @@ package org.apache.hadoop.record.meta;
 
 import java.io.IOException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.RecordOutput;
 
 /** 
@@ -29,6 +31,8 @@ import org.apache.hadoop.record.RecordOu
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class FieldTypeInfo
 {
 

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/MapTypeID.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/MapTypeID.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/MapTypeID.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/MapTypeID.java Fri Jun 11 21:34:56 2010
@@ -21,6 +21,8 @@ package org.apache.hadoop.record.meta;
 import java.io.IOException;
 import java.util.*;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.RecordOutput;
 
 /** 
@@ -29,6 +31,8 @@ import org.apache.hadoop.record.RecordOu
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class MapTypeID extends TypeID {
   
   private TypeID typeIDKey; 

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/RecordTypeInfo.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/RecordTypeInfo.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/RecordTypeInfo.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/RecordTypeInfo.java Fri Jun 11 21:34:56 2010
@@ -21,6 +21,8 @@ package org.apache.hadoop.record.meta;
 import java.io.IOException;
 import java.util.*;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.RecordInput;
 import org.apache.hadoop.record.RecordOutput;
 
@@ -34,6 +36,8 @@ import org.apache.hadoop.record.RecordOu
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class RecordTypeInfo extends org.apache.hadoop.record.Record 
 {
 

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/StructTypeID.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/StructTypeID.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/StructTypeID.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/StructTypeID.java Fri Jun 11 21:34:56 2010
@@ -21,6 +21,8 @@ package org.apache.hadoop.record.meta;
 import java.io.IOException;
 import java.util.*;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.RecordInput;
 import org.apache.hadoop.record.RecordOutput;
 
@@ -30,6 +32,8 @@ import org.apache.hadoop.record.RecordOu
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class StructTypeID extends TypeID {
   private ArrayList<FieldTypeInfo> typeInfos = new ArrayList<FieldTypeInfo>();
   

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/TypeID.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/TypeID.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/TypeID.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/TypeID.java Fri Jun 11 21:34:56 2010
@@ -19,6 +19,9 @@
 package org.apache.hadoop.record.meta;
 
 import java.io.IOException;
+
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.RecordOutput;
 
 /** 
@@ -27,6 +30,8 @@ import org.apache.hadoop.record.RecordOu
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class TypeID {
 
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/Utils.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/Utils.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/Utils.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/Utils.java Fri Jun 11 21:34:56 2010
@@ -20,6 +20,9 @@ package org.apache.hadoop.record.meta;
 
 import java.io.IOException;
 import java.util.Iterator;
+
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.RecordInput;
 
 /**
@@ -28,6 +31,8 @@ import org.apache.hadoop.record.RecordIn
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class Utils {
   
   /** Cannot create a new instance of Utils */

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/VectorTypeID.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/VectorTypeID.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/VectorTypeID.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/VectorTypeID.java Fri Jun 11 21:34:56 2010
@@ -20,6 +20,8 @@ package org.apache.hadoop.record.meta;
 
 import java.io.IOException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.record.RecordOutput;
 
 /** 
@@ -27,6 +29,8 @@ import org.apache.hadoop.record.RecordOu
  * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
 @Deprecated
+@InterfaceAudience.Public
+@InterfaceStability.Stable
 public class VectorTypeID extends TypeID {
   private TypeID typeIDElement; 
   

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/AccessControlException.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/AccessControlException.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/AccessControlException.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/AccessControlException.java Fri Jun 11 21:34:56 2010
@@ -17,9 +17,14 @@
  */
 package org.apache.hadoop.security;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * An exception class for access control related issues.
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Evolving
 public class AccessControlException 
     extends org.apache.hadoop.fs.permission.AccessControlException {
 

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/GroupMappingServiceProvider.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/GroupMappingServiceProvider.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/GroupMappingServiceProvider.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/GroupMappingServiceProvider.java Fri Jun 11 21:34:56 2010
@@ -20,10 +20,15 @@ package org.apache.hadoop.security;
 import java.io.IOException;
 import java.util.List;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * An interface for the implementation of a user-to-groups mapping service
  * used by {@link Groups}.
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Evolving
 interface GroupMappingServiceProvider {
   
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/Groups.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/Groups.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/Groups.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/Groups.java Fri Jun 11 21:34:56 2010
@@ -22,6 +22,8 @@ import java.util.List;
 import java.util.Map;
 import java.util.concurrent.ConcurrentHashMap;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.CommonConfigurationKeys;
 import org.apache.hadoop.util.ReflectionUtils;
@@ -37,6 +39,8 @@ import org.apache.commons.logging.LogFac
  * a consistent user-to-groups mapping and protects against vagaries of 
  * different mappings on servers and clients in a Hadoop cluster. 
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Evolving
 public class Groups {
   private static final Log LOG = LogFactory.getLog(Groups.class);
   

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/KerberosInfo.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/KerberosInfo.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/KerberosInfo.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/KerberosInfo.java Fri Jun 11 21:34:56 2010
@@ -20,11 +20,16 @@ package org.apache.hadoop.security;
 
 import java.lang.annotation.*;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * Indicates Kerberos related information to be used
  */
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.TYPE)
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Evolving
 public @interface KerberosInfo {
   /** Key for getting server's Kerberos principal name from Configuration */
   String serverPrincipal();

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/KerberosName.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/KerberosName.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/KerberosName.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/KerberosName.java Fri Jun 11 21:34:56 2010
@@ -24,6 +24,8 @@ import java.util.List;
 import java.util.regex.Matcher;
 import java.util.regex.Pattern;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 
 import sun.security.krb5.Config;
@@ -35,6 +37,8 @@ import sun.security.krb5.KrbException;
  * operating system names.
  */
 @SuppressWarnings("all")
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Evolving
 public class KerberosName {
   /** The first component of the name */
   private final String serviceName;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/RefreshUserMappingsProtocol.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/RefreshUserMappingsProtocol.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/RefreshUserMappingsProtocol.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/RefreshUserMappingsProtocol.java Fri Jun 11 21:34:56 2010
@@ -19,6 +19,8 @@ package org.apache.hadoop.security;
 
 import java.io.IOException;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.fs.CommonConfigurationKeys;
 import org.apache.hadoop.ipc.VersionedProtocol;
@@ -30,6 +32,8 @@ import org.apache.hadoop.security.Kerber
  */
 @KerberosInfo(
     serverPrincipal=CommonConfigurationKeys.HADOOP_SECURITY_SERVICE_USER_NAME_KEY)
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Evolving
 public interface RefreshUserMappingsProtocol extends VersionedProtocol {
   
   /**

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslInputStream.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslInputStream.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslInputStream.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslInputStream.java Fri Jun 11 21:34:56 2010
@@ -30,6 +30,8 @@ import javax.security.sasl.SaslServer;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 
 /**
  * A SaslInputStream is composed of an InputStream and a SaslServer (or
@@ -38,6 +40,8 @@ import org.apache.commons.logging.LogFac
  * (or SaslClient) object. The SaslServer (or SaslClient) object must be fully
  * initialized before being used by a SaslInputStream.
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Evolving
 public class SaslInputStream extends InputStream {
   public static final Log LOG = LogFactory.getLog(SaslInputStream.class);
 

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslOutputStream.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslOutputStream.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslOutputStream.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslOutputStream.java Fri Jun 11 21:34:56 2010
@@ -31,12 +31,17 @@ import javax.security.sasl.SaslClient;
 import javax.security.sasl.SaslException;
 import javax.security.sasl.SaslServer;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * A SaslOutputStream is composed of an OutputStream and a SaslServer (or
  * SaslClient) so that write() methods first process the data before writing
  * them out to the underlying OutputStream. The SaslServer (or SaslClient)
  * object must be fully initialized before being used by a SaslOutputStream.
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Evolving
 public class SaslOutputStream extends OutputStream {
 
   private final OutputStream outStream;

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslRpcClient.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslRpcClient.java?rev=953881&r1=953880&r2=953881&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslRpcClient.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/security/SaslRpcClient.java Fri Jun 11 21:34:56 2010
@@ -39,6 +39,8 @@ import javax.security.sasl.SaslClient;
 
 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.io.WritableUtils;
 import org.apache.hadoop.ipc.RemoteException;
 import org.apache.hadoop.security.SaslRpcServer.AuthMethod;
@@ -49,6 +51,8 @@ import org.apache.hadoop.security.token.
 /**
  * A utility class that encapsulates SASL logic for RPC client
  */
+@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce"})
+@InterfaceStability.Evolving
 public class SaslRpcClient {
   public static final Log LOG = LogFactory.getLog(SaslRpcClient.class);
 



Mime
View raw message