hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject svn commit: r782309 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/mapred/TableMapReduceUtil.java
Date Sat, 06 Jun 2009 20:15:19 GMT
Author: apurtell
Date: Sat Jun  6 20:15:18 2009
New Revision: 782309

URL: http://svn.apache.org/viewvc?rev=782309&view=rev
Log:
HBASE-1493 New TableMapReduceUtil methods should be static

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/mapred/TableMapReduceUtil.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=782309&r1=782308&r2=782309&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Sat Jun  6 20:15:18 2009
@@ -163,6 +163,8 @@
    HBASE-1483  HLog split loses track of edits (Clint Morgan via Stack)
    HBASE-1484  commit log split writes files with newest edits first
                (since hbase-1430); should be other way round
+   HBASE-1493  New TableMapReduceUtil methods should be static (Billy Pearson
+               via Andrew Purtell)
 
   IMPROVEMENTS
    HBASE-1089  Add count of regions on filesystem to master UI; add percentage

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/mapred/TableMapReduceUtil.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/mapred/TableMapReduceUtil.java?rev=782309&r1=782308&r2=782309&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/mapred/TableMapReduceUtil.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/mapred/TableMapReduceUtil.java Sat
Jun  6 20:15:18 2009
@@ -114,7 +114,7 @@
    * @param job  The current job configuration to adjust.
    * @throws IOException When retrieving the table details fails.
    */
-  public void limitNumReduceTasks(String table, JobConf job) 
+  public static void limitNumReduceTasks(String table, JobConf job) 
   throws IOException { 
     HTable outputTable = new HTable(new HBaseConfiguration(job), table);
     int regions = outputTable.getRegionsInfo().size();
@@ -130,7 +130,7 @@
    * @param job  The current job configuration to adjust.
    * @throws IOException When retrieving the table details fails.
    */
-  public void limitNumMapTasks(String table, JobConf job) 
+  public static void limitNumMapTasks(String table, JobConf job) 
   throws IOException { 
     HTable outputTable = new HTable(new HBaseConfiguration(job), table);
     int regions = outputTable.getRegionsInfo().size();
@@ -146,7 +146,7 @@
    * @param job  The current job configuration to adjust.
    * @throws IOException When retrieving the table details fails.
    */
-  public void setNumReduceTasks(String table, JobConf job) 
+  public static void setNumReduceTasks(String table, JobConf job) 
   throws IOException { 
     HTable outputTable = new HTable(new HBaseConfiguration(job), table);
     int regions = outputTable.getRegionsInfo().size();
@@ -161,7 +161,7 @@
    * @param job  The current job configuration to adjust.
    * @throws IOException When retrieving the table details fails.
    */
-  public void setNumMapTasks(String table, JobConf job) 
+  public static void setNumMapTasks(String table, JobConf job) 
   throws IOException { 
     HTable outputTable = new HTable(new HBaseConfiguration(job), table);
     int regions = outputTable.getRegionsInfo().size();



Mime
View raw message