HBASE-6067 Addendum adopts suggestions from Daryn
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1346057 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b975bdc489
commit
705ad5969f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue