hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12732) Log messages in FileLink$FileLinkInputStream#tryOpen are reversed
Date Mon, 22 Dec 2014 06:53:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-12732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14255494#comment-14255494
] 

Hudson commented on HBASE-12732:
--------------------------------

SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #721 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/721/])
HBASE-12732 Log messages in FileLink#tryOpen are reversed (Tobi Vollebregt) (apurtell: rev
2f45c7c8e97d00557a845fe69ed2f440444704bf)
* hbase-server/src/main/java/org/apache/hadoop/hbase/io/FileLink.java


> 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
>             Fix For: 2.0.0, 0.98.10, 1.1.0
>
>         Attachments: HBASE-12737.patch
>
>
> 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