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-12732 Log messages in FileLink#tryOpen are reversed (Tobi Vollebregt)
Date Sat, 20 Dec 2014 01:47:33 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 40fb2e921 -> feede7abd


HBASE-12732 Log messages in FileLink#tryOpen are reversed (Tobi Vollebregt)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/feede7ab
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/feede7ab
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/feede7ab

Branch: refs/heads/master
Commit: feede7abd8d85f8a21000824bdc0c322b25cf1c6
Parents: 40fb2e9
Author: stack <stack@apache.org>
Authored: Fri Dec 19 17:47:11 2014 -0800
Committer: stack <stack@apache.org>
Committed: Fri Dec 19 17:47:11 2014 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/io/FileLink.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/feede7ab/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java
index b7cab0f..4c1f8c5 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java
@@ -290,7 +290,7 @@ public class FileLink {
           if (pos != 0) in.seek(pos);
           assert(in.getPos() == pos) : "Link unable to seek to the right position=" + pos;
           if (LOG.isTraceEnabled()) {
-            if (currentPath != null) {
+            if (currentPath == null) {
               LOG.debug("link open path=" + path);
             } else {
               LOG.trace("link switch from path=" + currentPath + " to path=" + path);


Mime
View raw message