hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject svn commit: r1346055 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
Date Mon, 04 Jun 2012 17:54:14 GMT
Author: tedyu
Date: Mon Jun  4 17:54:14 2012
New Revision: 1346055

URL: http://svn.apache.org/viewvc?rev=1346055&view=rev
Log:
HBASE-6067 Addendum adopts suggestions from Daryn

Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java?rev=1346055&r1=1346054&r2=1346055&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java (original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java Mon
Jun  4 17:54:14 2012
@@ -448,9 +448,8 @@ public class HLog implements Syncable {
     Method m = null;
     Class<? extends FileSystem> cls = this.fs.getClass();
     try {
-      m = cls.getDeclaredMethod("getDefaultBlockSize",
+      m = cls.getMethod("getDefaultBlockSize",
           new Class<?>[] { Path.class });
-      m.setAccessible(true);
     } catch (NoSuchMethodException e) {
       LOG.info("FileSystem doesn't support getDefaultBlockSize");
     } catch (SecurityException e) {



Mime
View raw message