HBASE-11178 Remove deprecation annotations from mapred namespace

Our parent project is not dropping its legacy API, so neither shall we. Remove
the deprecation annotations from that implementation.
This commit is contained in:
Nick Dimiduk 2014-09-18 17:48:20 -04:00
parent 321a6085fb
commit 26dcd96b60
17 changed files with 2 additions and 17 deletions

View File

@ -27,7 +27,6 @@ import com.google.common.annotations.VisibleForTesting;
* Driver for hbase mapreduce jobs. Select which to run by passing name of job * Driver for hbase mapreduce jobs. Select which to run by passing name of job
* to this main. * to this main.
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class Driver { public class Driver {

View File

@ -38,7 +38,6 @@ import org.apache.hadoop.mapred.Reporter;
/** /**
* Extract grouping columns from input record * Extract grouping columns from input record
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class GroupingTableMap public class GroupingTableMap

View File

@ -41,7 +41,6 @@ import org.apache.hadoop.mapred.Partitioner;
* @param <K2> * @param <K2>
* @param <V2> * @param <V2>
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class HRegionPartitioner<K2,V2> public class HRegionPartitioner<K2,V2>

View File

@ -32,7 +32,6 @@ import org.apache.hadoop.mapred.Reporter;
/** /**
* Pass the given key and record as-is to reduce * Pass the given key and record as-is to reduce
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class IdentityTableMap public class IdentityTableMap

View File

@ -34,7 +34,6 @@ import org.apache.hadoop.mapred.Reporter;
/** /**
* Write to table each key, record pair * Write to table each key, record pair
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class IdentityTableReduce public class IdentityTableReduce

View File

@ -41,7 +41,6 @@ import org.apache.hadoop.util.ToolRunner;
* Map outputs table rows IF the input row has columns that have content. * Map outputs table rows IF the input row has columns that have content.
* Uses an {@link IdentityReducer} * Uses an {@link IdentityReducer}
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class RowCounter extends Configured implements Tool { public class RowCounter extends Configured implements Tool {

View File

@ -36,7 +36,6 @@ import org.apache.hadoop.util.StringUtils;
/** /**
* Convert HBase tabular data into a format that is consumable by Map/Reduce. * Convert HBase tabular data into a format that is consumable by Map/Reduce.
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class TableInputFormat extends TableInputFormatBase implements public class TableInputFormat extends TableInputFormatBase implements

View File

@ -65,7 +65,6 @@ import org.apache.hadoop.mapred.Reporter;
* </pre> * </pre>
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public abstract class TableInputFormatBase public abstract class TableInputFormatBase

View File

@ -32,7 +32,6 @@ import org.apache.hadoop.mapred.Mapper;
* @param <K> WritableComparable key class * @param <K> WritableComparable key class
* @param <V> Writable value class * @param <V> Writable value class
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public interface TableMap<K extends WritableComparable<? super K>, V> public interface TableMap<K extends WritableComparable<? super K>, V>

View File

@ -49,7 +49,6 @@ import org.apache.zookeeper.KeeperException;
/** /**
* Utility for {@link TableMap} and {@link TableReduce} * Utility for {@link TableMap} and {@link TableReduce}
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
@SuppressWarnings({ "rawtypes", "unchecked" }) @SuppressWarnings({ "rawtypes", "unchecked" })

View File

@ -41,7 +41,6 @@ import org.apache.hadoop.util.Progressable;
/** /**
* Convert Map/Reduce output and write it to an HBase table * Convert Map/Reduce output and write it to an HBase table
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class TableOutputFormat extends public class TableOutputFormat extends

View File

@ -33,7 +33,6 @@ import org.apache.hadoop.mapred.RecordReader;
/** /**
* Iterate over an HBase table data, return (Text, RowResult) pairs * Iterate over an HBase table data, return (Text, RowResult) pairs
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class TableRecordReader public class TableRecordReader

View File

@ -42,7 +42,6 @@ import static org.apache.hadoop.hbase.mapreduce.TableRecordReaderImpl.LOG_PER_RO
/** /**
* Iterate over an HBase table data, return (Text, RowResult) pairs * Iterate over an HBase table data, return (Text, RowResult) pairs
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class TableRecordReaderImpl { public class TableRecordReaderImpl {

View File

@ -31,7 +31,6 @@ import org.apache.hadoop.mapred.Reducer;
* @param <K> key class * @param <K> key class
* @param <V> value class * @param <V> value class
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")

View File

@ -33,7 +33,6 @@ import org.apache.hadoop.mapred.InputSplit;
/** /**
* A table split corresponds to a key range [low, high) * A table split corresponds to a key range [low, high)
*/ */
@Deprecated
@InterfaceAudience.Public @InterfaceAudience.Public
@InterfaceStability.Stable @InterfaceStability.Stable
public class TableSplit implements InputSplit, Comparable<TableSplit> { public class TableSplit implements InputSplit, Comparable<TableSplit> {

View File

@ -18,7 +18,7 @@
*/ */
/** /**
Provides HBase <a href="http://wiki.apache.org/hadoop/HadoopMapReduce">MapReduce</a> Provides HBase <a href="http://wiki.apache.org/hadoop/HadoopMapReduce">MapReduce</a>
Input/OutputFormats, a table indexing MapReduce job, and utility Input/OutputFormats, a table indexing MapReduce job, and utility methods.
<p>See <a href="http://hbase.apache.org/book.html#mapreduce">HBase and MapReduce</a> <p>See <a href="http://hbase.apache.org/book.html#mapreduce">HBase and MapReduce</a>
in the HBase Reference Guide for mapreduce over hbase documentation. in the HBase Reference Guide for mapreduce over hbase documentation.

View File

@ -18,7 +18,7 @@
*/ */
/** /**
Provides HBase <a href="http://wiki.apache.org/hadoop/HadoopMapReduce">MapReduce</a> Provides HBase <a href="http://wiki.apache.org/hadoop/HadoopMapReduce">MapReduce</a>
Input/OutputFormats, a table indexing MapReduce job, and utility Input/OutputFormats, a table indexing MapReduce job, and utility methods.
<p>See <a href="http://hbase.apache.org/book.html#mapreduce">HBase and MapReduce</a> <p>See <a href="http://hbase.apache.org/book.html#mapreduce">HBase and MapReduce</a>
in the HBase Reference Guide for mapreduce over hbase documentation. in the HBase Reference Guide for mapreduce over hbase documentation.