accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject svn commit: r1455385 - /accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java
Date Tue, 12 Mar 2013 01:35:32 GMT
Author: elserj
Date: Tue Mar 12 01:35:32 2013
New Revision: 1455385

URL: http://svn.apache.org/r1455385
Log:
ACCUMULO-1169 A much easier solution to differing "throws" declarations is to just not be
specific about the Exception being thrown.

Modified:
    accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java

Modified: accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java
URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java?rev=1455385&r1=1455384&r2=1455385&view=diff
==============================================================================
--- accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java
(original)
+++ accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/master/recovery/HadoopLogCloser.java
Tue Mar 12 01:35:32 2013
@@ -24,7 +24,7 @@ public class HadoopLogCloser implements 
         }
         log.info("Recovered lease on " + source.toString());
         return 0;
-      } catch (IOException ex) {
+      } catch (Exception ex) {
         log.warn("Error recovery lease on " + source.toString(), ex);
       }
     } else if (fs instanceof LocalFileSystem) {



Mime
View raw message