hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From li...@apache.org
Subject svn commit: r1510050 - in /hbase/branches/0.89-fb: ./ src/main/java/org/apache/hadoop/hbase/mapred/ src/test/java/org/apache/hadoop/hbase/mapred/
Date Sat, 03 Aug 2013 18:18:25 GMT
Author: liyin
Date: Sat Aug  3 18:18:25 2013
New Revision: 1510050

URL: http://svn.apache.org/r1510050
Log:
[master] Deprecate mapred package in order to promote the mapreduce package

Author: liyintang

Summary: Currently, there are 2 map reduce related packages in HBase code base due to some
historical reasons. In order to avoid the confusion, we need to deprecate the mapred package
and delete them eventually in the long term.

Test Plan: mvn test

Reviewers: manukranthk

Reviewed By: manukranthk

CC: hbase-eng@

Differential Revision: https://phabricator.fb.com/D913444

Modified:
    hbase/branches/0.89-fb/pom.xml
    hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReader.java
    hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java
    hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/mapred/TestTableMapReduce.java

Modified: hbase/branches/0.89-fb/pom.xml
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/pom.xml?rev=1510050&r1=1510049&r2=1510050&view=diff
==============================================================================
--- hbase/branches/0.89-fb/pom.xml (original)
+++ hbase/branches/0.89-fb/pom.xml Sat Aug  3 18:18:25 2013
@@ -419,6 +419,7 @@
                  dest="${project.build.directory}">
                   <patternset>
                     <include name="facebook-arc-jira-*/arc_jira_lib/**"/>
+            <exclude>**/mapred/*.java</exclude>
             <exclude>**/replication/*.java</exclude>
             <exclude>**/avro/*.java</exclude>
             <exclude>**/rest/*.java</exclude>

Modified: hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReader.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReader.java?rev=1510050&r1=1510049&r2=1510050&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReader.java
(original)
+++ hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReader.java
Sat Aug  3 18:18:25 2013
@@ -33,6 +33,7 @@ import org.apache.hadoop.mapred.RecordRe
 /**
  * Iterate over an HBase table data, return (Text, RowResult) pairs
  */
+@Deprecated
 public class TableRecordReader
 implements RecordReader<ImmutableBytesWritable, Result> {
 

Modified: hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java?rev=1510050&r1=1510049&r2=1510050&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java
(original)
+++ hbase/branches/0.89-fb/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java
Sat Aug  3 18:18:25 2013
@@ -39,6 +39,7 @@ import org.apache.hadoop.util.StringUtil
 /**
  * Iterate over an HBase table data, return (Text, RowResult) pairs
  */
+@Deprecated
 public class TableRecordReaderImpl {
   static final Log LOG = LogFactory.getLog(TableRecordReaderImpl.class);
 

Modified: hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/mapred/TestTableMapReduce.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/mapred/TestTableMapReduce.java?rev=1510050&r1=1510049&r2=1510050&view=diff
==============================================================================
--- hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/mapred/TestTableMapReduce.java
(original)
+++ hbase/branches/0.89-fb/src/test/java/org/apache/hadoop/hbase/mapred/TestTableMapReduce.java
Sat Aug  3 18:18:25 2013
@@ -48,6 +48,7 @@ import org.apache.hadoop.mapred.Reporter
  * on our tables is simple - take every row in the table, reverse the value of
  * a particular cell, and write it back to the table.
  */
+@Deprecated
 public class TestTableMapReduce extends MultiRegionTable {
   private static final Log LOG =
     LogFactory.getLog(TestTableMapReduce.class.getName());



Mime
View raw message