You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2017/12/06 19:36:05 UTC
hbase git commit: HBASE-15628 Implement an AsyncOutputStream which
can work with any FileSystem implementation; ADDENDUM -- Change Log output
Repository: hbase
Updated Branches:
refs/heads/master eabad8a91 -> 00750fe79
HBASE-15628 Implement an AsyncOutputStream which can work with any FileSystem implementation; ADDENDUM -- Change Log output
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/00750fe7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/00750fe7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/00750fe7
Branch: refs/heads/master
Commit: 00750fe79acbb6a43daa62b9fcabbd1f5ce4cf6c
Parents: eabad8a
Author: Michael Stack <st...@apache.org>
Authored: Wed Dec 6 11:35:54 2017 -0800
Committer: Michael Stack <st...@apache.org>
Committed: Wed Dec 6 11:35:54 2017 -0800
----------------------------------------------------------------------
.../hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/00750fe7/hbase-server/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java
index 61aa97c..08e1aae 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/asyncfs/FanOutOneBlockAsyncDFSOutputHelper.java
@@ -409,11 +409,13 @@ public final class FanOutOneBlockAsyncDFSOutputHelper {
private static PBHelper createPBHelper() throws NoSuchMethodException {
Class<?> helperClass;
+ String clazzName = "org.apache.hadoop.hdfs.protocolPB.PBHelperClient";
try {
- helperClass = Class.forName("org.apache.hadoop.hdfs.protocolPB.PBHelperClient");
+ helperClass = Class.forName(clazzName);
} catch (ClassNotFoundException e) {
- LOG.debug("No PBHelperClient class found, should be hadoop 2.7-", e);
helperClass = org.apache.hadoop.hdfs.protocolPB.PBHelper.class;
+ LOG.debug("" + clazzName + " not found (Hadoop is pre-2.8.0?); using " +
+ helperClass.toString() + " instead.");
}
Method convertEBMethod = helperClass.getMethod("convert", ExtendedBlock.class);
Method convertTokenMethod = helperClass.getMethod("convert", Token.class);