Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B38E310E59 for ; Sat, 20 Dec 2014 03:44:15 +0000 (UTC) Received: (qmail 65329 invoked by uid 500); 20 Dec 2014 03:44:13 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 65274 invoked by uid 500); 20 Dec 2014 03:44:13 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 65263 invoked by uid 99); 20 Dec 2014 03:44:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Dec 2014 03:44:13 +0000 Date: Sat, 20 Dec 2014 03:44:13 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-12732) Log messages in FileLink$FileLinkInputStream#tryOpen are reversed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-12732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14254496#comment-14254496 ] Hudson commented on HBASE-12732: -------------------------------- SUCCESS: Integrated in HBase-1.1 #15 (See [https://builds.apache.org/job/HBase-1.1/15/]) HBASE-12732 Log messages in FileLink#tryOpen are reversed (Tobi Vollebregt) (stack: rev dfa22cc922eeea939957a7d547b7888fb8c46e7b) * 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, 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)