hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-15628 Implement an AsyncOutputStream which can work with any FileSystem implementation; ADDENDUM -- Change Log output
Date Wed, 06 Dec 2017 19:36:26 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-2 b2f9b7bc1 -> 52ffa68f8


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/52ffa68f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/52ffa68f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/52ffa68f

Branch: refs/heads/branch-2
Commit: 52ffa68f8bf94131af18fff79a8b44618ad3515c
Parents: b2f9b7b
Author: Michael Stack <stack@apache.org>
Authored: Wed Dec 6 11:35:54 2017 -0800
Committer: Michael Stack <stack@apache.org>
Committed: Wed Dec 6 11:36:20 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/52ffa68f/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);


Mime
View raw message