hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r953884 [4/6] - in /hadoop/common/branches/branch-0.21: ./ 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/or...
Date Fri, 11 Jun 2010 21:40:53 GMT
Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/ganglia/GangliaContext.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/ganglia/GangliaContext.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/ganglia/GangliaContext.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/ganglia/GangliaContext.java Fri Jun 11 21:40:44 2010
@@ -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.metrics.ContextFactory;
 import org.apache.hadoop.metrics.MetricsException;
 import org.apache.hadoop.metrics.spi.AbstractMetricsContext;
@@ -42,6 +44,8 @@ import org.apache.hadoop.metrics.spi.Uti
  * Context for sending metrics to Ganglia.
  * 
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class GangliaContext extends AbstractMetricsContext {
     
   private static final String PERIOD_PROPERTY = "period";
@@ -83,9 +87,11 @@ public class GangliaContext extends Abst
   private DatagramSocket datagramSocket;
     
   /** Creates a new instance of GangliaContext */
+  @InterfaceAudience.Private
   public GangliaContext() {
   }
     
+  @InterfaceAudience.Private
   public void init(String contextName, ContextFactory factory) {
     super.init(contextName, factory);
     parseAndSetPeriod(PERIOD_PROPERTY);
@@ -106,6 +112,7 @@ public class GangliaContext extends Abst
     }
   }
 
+  @InterfaceAudience.Private
   public void emitRecord(String contextName, String recordName,
     OutputRecord outRec) 
   throws IOException {

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/EventCounter.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/EventCounter.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/EventCounter.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/EventCounter.java Fri Jun 11 21:40:44 2010
@@ -19,6 +19,8 @@ package org.apache.hadoop.metrics.jvm;
 
 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.log4j.AppenderSkeleton;
 import org.apache.log4j.Level;
 import org.apache.log4j.spi.LoggingEvent;
@@ -27,6 +29,8 @@ import org.apache.log4j.spi.LoggingEvent
  * A log4J Appender that simply counts logging events in three levels:
  * fatal, error and warn.
  */
+@InterfaceAudience.Private
+@InterfaceStability.Evolving
 public class EventCounter extends AppenderSkeleton {
         
     private static final int FATAL = 0;

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/JvmMetrics.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/JvmMetrics.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/JvmMetrics.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/JvmMetrics.java Fri Jun 11 21:40:44 2010
@@ -22,6 +22,9 @@ import java.lang.management.MemoryMXBean
 import java.lang.management.MemoryUsage;
 import java.lang.management.ThreadInfo;
 import java.lang.management.ThreadMXBean;
+
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.metrics.MetricsContext;
 import org.apache.hadoop.metrics.MetricsRecord;
 import org.apache.hadoop.metrics.MetricsUtil;
@@ -38,6 +41,8 @@ import org.apache.commons.logging.LogFac
  * Any application can create an instance of this class in order to emit
  * Java VM metrics.  
  */
+@InterfaceAudience.Private
+@InterfaceStability.Evolving
 public class JvmMetrics implements Updater {
     
     private static final float M = 1024*1024;

Added: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/package-info.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/package-info.java?rev=953884&view=auto
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/package-info.java (added)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/package-info.java Fri Jun 11 21:40:44 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.Private
+@InterfaceStability.Evolving
+package org.apache.hadoop.metrics.jvm;
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;

Propchange: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/jvm/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/AbstractMetricsContext.java Fri Jun 11 21:40:44 2010
@@ -34,6 +34,8 @@ import java.util.TimerTask;
 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.ContextFactory;
 import org.apache.hadoop.metrics.MetricsContext;
 import org.apache.hadoop.metrics.MetricsException;
@@ -50,6 +52,8 @@ import org.apache.hadoop.metrics.Updater
  * override the abstract <code>emitRecord</code> method in order to transmit
  * the data. <p/>
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public abstract class AbstractMetricsContext implements MetricsContext {
     
   private int period = MetricsContext.DEFAULT_PERIOD;
@@ -61,6 +65,7 @@ public abstract class AbstractMetricsCon
   private ContextFactory factory = null;
   private String contextName = null;
     
+  @InterfaceAudience.Private
   public static class TagMap extends TreeMap<String,Object> {
     private static final long serialVersionUID = 3546309335061952993L;
     TagMap() {
@@ -84,6 +89,7 @@ public abstract class AbstractMetricsCon
     }
   }
   
+  @InterfaceAudience.Private
   public static class MetricMap extends TreeMap<String,Number> {
     private static final long serialVersionUID = -7495051861141631609L;
     MetricMap() {

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/CompositeContext.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/CompositeContext.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/CompositeContext.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/CompositeContext.java Fri Jun 11 21:40:44 2010
@@ -26,6 +26,8 @@ import java.util.ArrayList;
 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.metrics.ContextFactory;
 import org.apache.hadoop.metrics.MetricsContext;
 import org.apache.hadoop.metrics.MetricsException;
@@ -33,6 +35,8 @@ import org.apache.hadoop.metrics.Metrics
 import org.apache.hadoop.metrics.MetricsUtil;
 import org.apache.hadoop.metrics.Updater;
 
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class CompositeContext extends AbstractMetricsContext {
 
   private static final Log LOG = LogFactory.getLog(CompositeContext.class);
@@ -41,9 +45,11 @@ public class CompositeContext extends Ab
   private final ArrayList<MetricsContext> subctxt =
     new ArrayList<MetricsContext>();
 
+  @InterfaceAudience.Private
   public CompositeContext() {
   }
 
+  @InterfaceAudience.Private
   public void init(String contextName, ContextFactory factory) {
     super.init(contextName, factory);
     int nKids;
@@ -64,6 +70,7 @@ public class CompositeContext extends Ab
     }
   }
 
+  @InterfaceAudience.Private
   @Override
   public MetricsRecord newRecord(String recordName) {
     return (MetricsRecord) Proxy.newProxyInstance(
@@ -72,6 +79,7 @@ public class CompositeContext extends Ab
         new MetricsRecordDelegator(recordName, subctxt));
   }
 
+  @InterfaceAudience.Private
   @Override
   protected void emitRecord(String contextName, String recordName,
       OutputRecord outRec) throws IOException {
@@ -88,6 +96,7 @@ public class CompositeContext extends Ab
     }
   }
 
+  @InterfaceAudience.Private
   @Override
   protected void flush() throws IOException {
     for (MetricsContext ctxt : subctxt) {
@@ -99,6 +108,7 @@ public class CompositeContext extends Ab
     }
   }
 
+  @InterfaceAudience.Private
   @Override
   public void startMonitoring() throws IOException {
     for (MetricsContext ctxt : subctxt) {
@@ -110,6 +120,7 @@ public class CompositeContext extends Ab
     }
   }
 
+  @InterfaceAudience.Private
   @Override
   public void stopMonitoring() {
     for (MetricsContext ctxt : subctxt) {
@@ -120,6 +131,7 @@ public class CompositeContext extends Ab
   /**
    * Return true if all subcontexts are monitoring.
    */
+  @InterfaceAudience.Private
   @Override
   public boolean isMonitoring() {
     boolean ret = true;
@@ -129,6 +141,7 @@ public class CompositeContext extends Ab
     return ret;
   }
 
+  @InterfaceAudience.Private
   @Override
   public void close() {
     for (MetricsContext ctxt : subctxt) {
@@ -136,6 +149,7 @@ public class CompositeContext extends Ab
     }
   }
 
+  @InterfaceAudience.Private
   @Override
   public void registerUpdater(Updater updater) {
     for (MetricsContext ctxt : subctxt) {
@@ -143,6 +157,7 @@ public class CompositeContext extends Ab
     }
   }
 
+  @InterfaceAudience.Private
   @Override
   public void unregisterUpdater(Updater updater) {
     for (MetricsContext ctxt : subctxt) {

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/MetricValue.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/MetricValue.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/MetricValue.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/MetricValue.java Fri Jun 11 21:40:44 2010
@@ -20,9 +20,14 @@
 
 package org.apache.hadoop.metrics.spi;
 
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
+
 /**
  * A Number that is either an absolute or an incremental amount.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class MetricValue {
     
   public static final boolean ABSOLUTE = false;

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/MetricsRecordImpl.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/MetricsRecordImpl.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/MetricsRecordImpl.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/MetricsRecordImpl.java Fri Jun 11 21:40:44 2010
@@ -22,6 +22,9 @@ package org.apache.hadoop.metrics.spi;
 
 import java.util.LinkedHashMap;
 import java.util.Map;
+
+import org.apache.hadoop.classification.InterfaceAudience;
+import org.apache.hadoop.classification.InterfaceStability;
 import org.apache.hadoop.metrics.MetricsRecord;
 import org.apache.hadoop.metrics.spi.AbstractMetricsContext.TagMap;
 
@@ -30,6 +33,8 @@ import org.apache.hadoop.metrics.spi.Abs
  * from which it was created, and delegates back to it on <code>update</code>
  * and <code>remove()</code>.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class MetricsRecordImpl implements MetricsRecord {
     
   private TagMap tagTable = new TagMap();

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NoEmitMetricsContext.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NoEmitMetricsContext.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NoEmitMetricsContext.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NoEmitMetricsContext.java Fri Jun 11 21:40:44 2010
@@ -17,6 +17,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.MetricsServlet;
 
@@ -27,14 +29,18 @@ import org.apache.hadoop.metrics.Metrics
  * This is useful if you want to support {@link MetricsServlet}, but
  * not emit metrics in any other way.
  */
+@InterfaceAudience.Public
+@InterfaceStability.Evolving
 public class NoEmitMetricsContext extends AbstractMetricsContext {
     
     private static final String PERIOD_PROPERTY = "period";
       
     /** Creates a new instance of NullContextWithUpdateThread */
+    @InterfaceAudience.Private
     public NoEmitMetricsContext() {
     }
     
+    @InterfaceAudience.Private
     public void init(String contextName, ContextFactory factory) {
       super.init(contextName, factory);
       parseAndSetPeriod(PERIOD_PROPERTY);
@@ -43,6 +49,7 @@ public class NoEmitMetricsContext extend
     /**
      * Do-nothing version of emitRecord
      */
+    @InterfaceAudience.Private
     protected void emitRecord(String contextName, String recordName,
                               OutputRecord outRec) {
     }

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NullContext.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NullContext.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NullContext.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NullContext.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/NullContextWithUpdateThread.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/OutputRecord.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/OutputRecord.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/OutputRecord.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/OutputRecord.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/Util.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/Util.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/Util.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/spi/Util.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MBeanUtil.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MBeanUtil.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MBeanUtil.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MBeanUtil.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsBase.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsBase.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsBase.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsBase.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsDynamicMBeanBase.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsIntValue.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsIntValue.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsIntValue.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsIntValue.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsLongValue.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsLongValue.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsLongValue.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsLongValue.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsRegistry.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsRegistry.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsRegistry.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsRegistry.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingInt.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingInt.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingInt.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingInt.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingLong.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingLong.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingLong.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingLong.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingRate.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingRate.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingRate.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/MetricsTimeVaryingRate.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/package-info.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/package-info.java?rev=953884&view=auto
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/package-info.java (added)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/package-info.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/metrics/util/package-info.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/CachedDNSToSwitchMapping.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/CachedDNSToSwitchMapping.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/CachedDNSToSwitchMapping.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/CachedDNSToSwitchMapping.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/DNS.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/DNS.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/DNS.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/DNS.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/DNSToSwitchMapping.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/DNSToSwitchMapping.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/DNSToSwitchMapping.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/DNSToSwitchMapping.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/NetUtils.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/NetUtils.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/NetUtils.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/NetUtils.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/NetworkTopology.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/NetworkTopology.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/NetworkTopology.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/NetworkTopology.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/Node.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/Node.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/Node.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/Node.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/NodeBase.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/NodeBase.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/NodeBase.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/NodeBase.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/ScriptBasedMapping.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/ScriptBasedMapping.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/ScriptBasedMapping.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/ScriptBasedMapping.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/SocketInputStream.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/SocketInputStream.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/SocketInputStream.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/SocketInputStream.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/SocketOutputStream.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/SocketOutputStream.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/SocketOutputStream.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/SocketOutputStream.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/SocksSocketFactory.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/SocksSocketFactory.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/SocksSocketFactory.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/SocksSocketFactory.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/net/StandardSocketFactory.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/StandardSocketFactory.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/StandardSocketFactory.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/net/StandardSocketFactory.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/BinaryRecordInput.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/BinaryRecordInput.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/BinaryRecordInput.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/BinaryRecordInput.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/BinaryRecordOutput.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/BinaryRecordOutput.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/BinaryRecordOutput.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/BinaryRecordOutput.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/Buffer.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Buffer.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Buffer.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Buffer.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/CsvRecordInput.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/CsvRecordInput.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/CsvRecordInput.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/CsvRecordInput.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/CsvRecordOutput.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/CsvRecordOutput.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/CsvRecordOutput.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/CsvRecordOutput.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/Index.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Index.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Index.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Index.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/Record.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Record.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Record.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Record.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordComparator.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordComparator.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordComparator.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordComparator.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordInput.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordInput.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordInput.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordInput.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordOutput.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordOutput.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordOutput.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/RecordOutput.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/Utils.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Utils.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Utils.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/Utils.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/XmlRecordInput.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/XmlRecordInput.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/XmlRecordInput.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/XmlRecordInput.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/XmlRecordOutput.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/XmlRecordOutput.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/XmlRecordOutput.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/XmlRecordOutput.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/CodeBuffer.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/CodeBuffer.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/CodeBuffer.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/CodeBuffer.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/Consts.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/Consts.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/Consts.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/Consts.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JBoolean.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JBoolean.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JBoolean.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JBoolean.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JBuffer.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JBuffer.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JBuffer.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JBuffer.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JByte.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JByte.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JByte.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JByte.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JDouble.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JDouble.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JDouble.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JDouble.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JField.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JField.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JField.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JField.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JFile.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JFile.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JFile.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JFile.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JFloat.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JFloat.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JFloat.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JFloat.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JInt.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JInt.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JInt.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JInt.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JLong.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JLong.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JLong.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JLong.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JMap.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JMap.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JMap.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JMap.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JRecord.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JRecord.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JRecord.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JRecord.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JString.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JString.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JString.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JString.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JType.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JType.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JType.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JType.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JVector.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JVector.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JVector.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/JVector.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/ant/RccTask.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/ant/RccTask.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/ant/RccTask.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/ant/RccTask.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/ParseException.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/ParseException.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/ParseException.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/ParseException.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/RccConstants.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/RccConstants.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/RccConstants.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/RccConstants.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/RccTokenManager.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/RccTokenManager.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/RccTokenManager.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/RccTokenManager.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/Token.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/Token.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/Token.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/Token.java Fri Jun 11 21:40:44 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/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/TokenMgrError.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/TokenMgrError.java?rev=953884&r1=953883&r2=953884&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/TokenMgrError.java (original)
+++ hadoop/common/branches/branch-0.21/src/java/org/apache/hadoop/record/compiler/generated/TokenMgrError.java Fri Jun 11 21:40:44 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
 {
   /*



Mime
View raw message