hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject svn commit: r782708 - in /hadoop/core/trunk: CHANGES.txt src/test/hdfs-with-mr/org/apache/hadoop/hdfs/NNBench.java
Date Mon, 08 Jun 2009 17:22:43 GMT
Author: szetszwo
Date: Mon Jun  8 17:22:43 2009
New Revision: 782708

URL: http://svn.apache.org/viewvc?rev=782708&view=rev
Log:
HADOOP-5963. Remove an unnecessary exception catch in NNBench.  Contributed by Boris Shkolnik

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/test/hdfs-with-mr/org/apache/hadoop/hdfs/NNBench.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=782708&r1=782707&r2=782708&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon Jun  8 17:22:43 2009
@@ -792,6 +792,9 @@
     HADOOP-5457. Fix to continue to run builds even if contrib test fails
     (Giridharan Kesavan via gkesavan)
 
+    HADOOP-5963. Remove an unnecessary exception catch in NNBench.  (Boris
+    Shkolnik via szetszwo)
+
 Release 0.20.1 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/test/hdfs-with-mr/org/apache/hadoop/hdfs/NNBench.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/test/hdfs-with-mr/org/apache/hadoop/hdfs/NNBench.java?rev=782708&r1=782707&r2=782708&view=diff
==============================================================================
--- hadoop/core/trunk/src/test/hdfs-with-mr/org/apache/hadoop/hdfs/NNBench.java (original)
+++ hadoop/core/trunk/src/test/hdfs-with-mr/org/apache/hadoop/hdfs/NNBench.java Mon Jun  8
17:22:43 2009
@@ -150,8 +150,6 @@
         writer = SequenceFile.createWriter(tempFS, config, filePath, Text.class, 
                 LongWritable.class, CompressionType.NONE);
         writer.append(new Text(strFileName), new LongWritable(0l));
-      } catch(Exception e) {
-        throw new IOException(e.getLocalizedMessage());
       } finally {
         if (writer != null) {
           writer.close();



Mime
View raw message