hbase-commits mailing list archives

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

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

Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java?rev=1346057&r1=1346056&r2=1346057&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/HLog.java
Mon Jun  4 17:54:53 2012
@@ -450,9 +450,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