hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobi Vollebregt (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-12732) Log messages in FileLink$FileLinkInputStream#tryOpen are reversed
Date Fri, 19 Dec 2014 22:50:13 GMT
Tobi Vollebregt created HBASE-12732:
---------------------------------------

             Summary: Log messages in FileLink$FileLinkInputStream#tryOpen are reversed
                 Key: HBASE-12732
                 URL: https://issues.apache.org/jira/browse/HBASE-12732
             Project: HBase
          Issue Type: Bug
          Components: hbase
            Reporter: Tobi Vollebregt
            Priority: Trivial


The log message in `tryOpen` is reversed:

{code:java}
            if (currentPath != null) {
              LOG.debug("link open path=" + path);
            } else {
              LOG.trace("link switch from path=" + currentPath + " to path=" + path);
            }
{code}

By reading the logic, we can see that when switching paths (currentPath != null) it will log
that it opened a path, and when opening a path, it will print that it switched from path=null
to the new path.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message