hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r898740 - in /hadoop/common/trunk: ./ src/java/org/apache/hadoop/record/ src/java/org/apache/hadoop/record/compiler/ src/java/org/apache/hadoop/record/compiler/ant/ src/java/org/apache/hadoop/record/compiler/generated/ src/java/org/apache/h...
Date Wed, 13 Jan 2010 13:26:12 GMT
Author: cdouglas
Date: Wed Jan 13 13:26:11 2010
New Revision: 898740

URL: http://svn.apache.org/viewvc?rev=898740&view=rev
Log:
HADOOP-6155. Deprecate RecordIO anticipating Avro. Contributed by Tom White

Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordInput.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/BinaryRecordOutput.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/Buffer.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordInput.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/CsvRecordOutput.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/Index.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/Record.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordComparator.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordInput.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/RecordOutput.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/Utils.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordInput.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/XmlRecordOutput.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/CodeBuffer.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/Consts.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBoolean.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JBuffer.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JByte.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JCompType.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JDouble.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JField.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFile.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JFloat.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JInt.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JLong.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JMap.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JRecord.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JString.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JType.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JVector.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/ant/RccTask.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/ParseException.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Rcc.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccConstants.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/RccTokenManager.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/SimpleCharStream.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/Token.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/TokenMgrError.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/package.html
    hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/package.html
    hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/FieldTypeInfo.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/MapTypeID.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/RecordTypeInfo.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/StructTypeID.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/TypeID.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/Utils.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/meta/VectorTypeID.java
    hadoop/common/trunk/src/java/org/apache/hadoop/record/package.html

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=898740&r1=898739&r2=898740&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Wed Jan 13 13:26:11 2010
@@ -99,6 +99,8 @@
     HADOOP-6420. Add functionality permitting subsets of Configuration to be
     interpreted as Map<String,String>. (Aaron Kimball via cdouglas)
 
+    HADOOP-6155. Deprecate RecordIO anticipating Avro. (Tom White via cdouglas)
+
   OPTIMIZATIONS
 
   BUG FIXES

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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -24,7 +24,9 @@
 import java.io.InputStream;
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan
13 13:26:11 2010
@@ -26,7 +26,9 @@
 import java.io.OutputStream;
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -25,7 +25,9 @@
  * It is resizable and distinguishes between the count of the seqeunce and
  * the current capacity.
  * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -25,7 +25,9 @@
 import java.io.UnsupportedEncodingException;
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -26,7 +26,9 @@
 import java.io.UnsupportedEncodingException;
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11 2010
@@ -30,7 +30,10 @@
  *   idx.incr();
  * }
  * </code>
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -27,7 +27,9 @@
 /**
  * Abstract class that is extended by generated classes.
  * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -23,7 +23,10 @@
 
 /**
  * A raw record comparator base class
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -22,7 +22,10 @@
 
 /**
  * Interface that all the Deserializers have to implement.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -24,7 +24,10 @@
 
 /**
  * Interface that alll the serializers have to implement.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11 2010
@@ -26,7 +26,10 @@
 
 /**
  * Various utility functions for Hadooop record I/O runtime.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -29,7 +29,10 @@
 
 /**
  * XML Deserializer.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -28,7 +28,10 @@
 
 /**
  * XML Serializer.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan
13 13:26:11 2010
@@ -21,7 +21,10 @@
 
 /**
  * A wrapper around StringBuffer that automatically does indentation
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -24,7 +24,10 @@
 
 /**
  * const definitions for Record I/O compiler
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -20,7 +20,9 @@
 
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -21,7 +21,10 @@
 
 /**
  * Code generator for "buffer" type.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -20,7 +20,10 @@
 
 /**
  * Code generator for "byte" type.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 public class JByte extends JType {
   
   class JavaByte extends JavaType {

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JCompType.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JCompType.java?rev=898740&r1=898739&r2=898740&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JCompType.java (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/JCompType.java Wed Jan
13 13:26:11 2010
@@ -22,7 +22,10 @@
 /**
  * Abstract base class for all the "compound" types such as ustring,
  * buffer, vector, map, and record.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 abstract class JCompType extends JType {
   
   abstract class JavaCompType 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -20,7 +20,9 @@
 
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -20,7 +20,10 @@
 
 /**
  * A thin wrappper around record field.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -25,7 +25,10 @@
  * Container for the Hadoop Record DDL.
  * The main components of the file are filename, list of included files,
  * and records defined in that file.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -19,7 +19,9 @@
 package org.apache.hadoop.record.compiler;
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -21,7 +21,10 @@
 
 /**
  * Code generator for "int" type
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -20,7 +20,10 @@
 
 /**
  * Code generator for "long" type
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -22,7 +22,9 @@
 
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -24,7 +24,9 @@
 import java.util.*;
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -20,7 +20,9 @@
 
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -23,7 +23,10 @@
 
 /**
  * Abstract Base class for all types supported by Hadoop Record I/O.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -21,7 +21,9 @@
 import java.util.Map;
 
 /**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan
13 13:26:11 2010
@@ -46,7 +46,10 @@
  *   &lt;fileset include="**\/*.jr" /&gt;
  * &lt;/recordcc&gt;
  * </pre>
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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
Wed Jan 13 13:26:11 2010
@@ -27,7 +27,10 @@
  *
  * You can modify this class to customize your error reporting
  * mechanisms so long as you retain the public fields.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed
Jan 13 13:26:11 2010
@@ -28,6 +28,10 @@
 import java.io.FileNotFoundException;
 import java.io.IOException;
 
+/**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
+ */
+@Deprecated
 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=898740&r1=898739&r2=898740&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
Wed Jan 13 13:26:11 2010
@@ -19,6 +19,10 @@
 
 package org.apache.hadoop.record.compiler.generated;
 
+/**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
+ */
+@Deprecated
 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=898740&r1=898739&r2=898740&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
Wed Jan 13 13:26:11 2010
@@ -27,6 +27,10 @@
 import java.io.FileNotFoundException;
 import java.io.IOException;
 
+/**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
+ */
+@Deprecated
 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=898740&r1=898739&r2=898740&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
Wed Jan 13 13:26:11 2010
@@ -22,8 +22,10 @@
 /**
  * An implementation of interface CharStream, where the stream is assumed to
  * contain only ASCII characters (without unicode processing).
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
-
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed
Jan 13 13:26:11 2010
@@ -21,8 +21,10 @@
 
 /**
  * Describes the input token stream.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
-
+@Deprecated
 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=898740&r1=898739&r2=898740&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
Wed Jan 13 13:26:11 2010
@@ -19,6 +19,10 @@
 
 package org.apache.hadoop.record.compiler.generated;
 
+/**
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
+ */
+@Deprecated
 public class TokenMgrError extends Error
 {
   /*

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/package.html
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/package.html?rev=898740&r1=898739&r2=898740&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/package.html
(original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/generated/package.html
Wed Jan 13 13:26:11 2010
@@ -22,8 +22,14 @@
     <title>Hadoop Record Compiler: Parser</title>
   </head>
   <body>
-  This package contains code generated by JavaCC from the
-  Hadoop record syntax file rcc.jj. For details about the
-  record file syntax please @see org.apache.hadoop.record.
+    <p>
+    (DEPRECATED) This package contains code generated by JavaCC from the
+    Hadoop record syntax file rcc.jj. For details about the
+    record file syntax please @see org.apache.hadoop.record.
+    </p>
+  
+    <p>
+    DEPRECATED: Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
+    </p>
   </body>
 </html>

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/package.html
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/package.html?rev=898740&r1=898739&r2=898740&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/package.html (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/compiler/package.html Wed Jan 13
13:26:11 2010
@@ -22,10 +22,16 @@
     <title>Hadoop Record Compiler</title>
   </head>
   <body>
-  This package contains classes needed for code generation
-  from the hadoop record compiler. CppGenerator and JavaGenerator
-  are the main entry points from the parser. There are classes
-  corrsponding to every primitive type and compound type
-  included in Hadoop record I/O syntax.
+    <p>
+    (DEPRECATED) This package contains classes needed for code generation
+    from the hadoop record compiler. CppGenerator and JavaGenerator
+    are the main entry points from the parser. There are classes
+    corrsponding to every primitive type and compound type
+    included in Hadoop record I/O syntax.
+    </p>
+    
+    <p>
+    DEPRECATED: Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
+    </p>
   </body>
 </html>

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=898740&r1=898739&r2=898740&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 Wed Jan
13 13:26:11 2010
@@ -25,7 +25,10 @@
 /** 
  * Represents a type information for a field, which is made up of its 
  * ID (name) and its type (a TypeID object).
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -25,7 +25,10 @@
 
 /** 
  * Represents typeID for a Map 
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan
13 13:26:11 2010
@@ -30,7 +30,10 @@
  * 
  * Type information for a record comprises metadata about the record, 
  * as well as a collection of type information for each field in the record. 
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -26,7 +26,10 @@
 
 /** 
  * Represents typeID for a struct 
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -22,8 +22,11 @@
 import org.apache.hadoop.record.RecordOutput;
 
 /** 
- * Represents typeID for basic types. 
+ * Represents typeID for basic types.
+ *  
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13 13:26:11
2010
@@ -24,7 +24,10 @@
 
 /**
  * Various utility functions for Hadooop record I/O platform.
+ * 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 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=898740&r1=898739&r2=898740&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 Wed Jan 13
13:26:11 2010
@@ -24,7 +24,9 @@
 
 /** 
  * Represents typeID for vector. 
+ * @deprecated Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
  */
+@Deprecated
 public class VectorTypeID extends TypeID {
   private TypeID typeIDElement; 
   

Modified: hadoop/common/trunk/src/java/org/apache/hadoop/record/package.html
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/src/java/org/apache/hadoop/record/package.html?rev=898740&r1=898739&r2=898740&view=diff
==============================================================================
--- hadoop/common/trunk/src/java/org/apache/hadoop/record/package.html (original)
+++ hadoop/common/trunk/src/java/org/apache/hadoop/record/package.html Wed Jan 13 13:26:11
2010
@@ -22,9 +22,15 @@
     <title>Hadoop Record I/O</title>
   </head>
   <body>
-  Hadoop record I/O contains classes and a record description language
-  translator for simplifying serialization and deserialization of records in a
-  language-neutral manner.
+    <p>
+    (DEPRECATED) Hadoop record I/O contains classes and a record description language
+    translator for simplifying serialization and deserialization of records in a
+    language-neutral manner.
+    </p>
+    
+    <p>
+    DEPRECATED: Replaced by <a href="http://hadoop.apache.org/avro/">Avro</a>.
+    </p>
   
   <h2>Introduction</h2>
   



Mime
View raw message