hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nspiegelb...@apache.org
Subject svn commit: r1181925 - /hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java
Date Tue, 11 Oct 2011 17:42:22 GMT
Author: nspiegelberg
Date: Tue Oct 11 17:42:22 2011
New Revision: 1181925

URL: http://svn.apache.org/viewvc?rev=1181925&view=rev
Log:
Remove unnecessary FileAlreadyExistsException.

Summary:
Removes the unnecessary FileAlreadyExistsException from
hbase-trunk and hbase-90

Test Plan: 1)mvn -DskipTests package
Reviewed By: schen
Reviewers: nspiegelberg, schen
Commenters: nspiegelberg
CC: hbase@lists, lshepard, mattwkelly, nspiegelberg, schen
Revert Plan:
Tags:

- begin *PUBLIC* platform impact section -
Bugzilla: #
- end platform impact -

Differential Revision: 300641

Modified:
    hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java

Modified: hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java?rev=1181925&r1=1181924&r2=1181925&view=diff
==============================================================================
--- hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java
(original)
+++ hbase/branches/0.89/src/main/java/org/apache/hadoop/hbase/mapred/TableOutputFormat.java
Tue Oct 11 17:42:22 2011
@@ -28,7 +28,6 @@ import org.apache.hadoop.hbase.HBaseConf
 import org.apache.hadoop.hbase.client.HTable;
 import org.apache.hadoop.hbase.client.Put;
 import org.apache.hadoop.hbase.io.ImmutableBytesWritable;
-import org.apache.hadoop.mapred.FileAlreadyExistsException;
 import org.apache.hadoop.mapred.InvalidJobConfException;
 import org.apache.hadoop.mapred.JobConf;
 import org.apache.hadoop.mapred.FileOutputFormat;
@@ -96,11 +95,11 @@ FileOutputFormat<ImmutableBytesWritable,
 
   @Override
   public void checkOutputSpecs(FileSystem ignored, JobConf job)
-  throws FileAlreadyExistsException, InvalidJobConfException, IOException {
+  throws IOException {
 
     String tableName = job.get(OUTPUT_TABLE);
     if(tableName == null) {
       throw new IOException("Must specify table name");
     }
   }
-}
\ No newline at end of file
+}



Mime
View raw message