You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Daisuke Kobayashi (JIRA)" <ji...@apache.org> on 2019/02/14 08:51:00 UTC

[jira] [Created] (HBASE-21899) Fix missing variables in slf4j Logger

Daisuke Kobayashi created HBASE-21899:
-----------------------------------------

             Summary: Fix missing variables in slf4j Logger
                 Key: HBASE-21899
                 URL: https://issues.apache.org/jira/browse/HBASE-21899
             Project: HBase
          Issue Type: Bug
          Components: logging
    Affects Versions: 2.1.3
            Reporter: Daisuke Kobayashi


I happened to find the following methods have called slf4j Logger without variables whereas {} exists.

org.apache.hadoop.hbase.master.procedure.ReopenTableRegionsProcedure#executeFromState
org.apache.hadoop.hbase.replication.regionserver.SerialReplicationChecker#canPush(org.apache.hadoop.hbase.wal.WAL.Entry, org.apache.hadoop.hbase.Cell)

With my quick patch, I was able to log the condition appropriately at least for SerialReplicationChecker.

{noformat}
2019-02-14 02:34:46,365 TRACE [Time-limited test] regionserver.SerialReplicationChecker(258): The sequence id for Mock for Entry, hashCode: 2138280514 is continuous, pass
{noformat}

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)