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 2E9319C9B for ; Wed, 21 Mar 2012 19:04:08 +0000 (UTC) Received: (qmail 97192 invoked by uid 500); 21 Mar 2012 19:04:07 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 97141 invoked by uid 500); 21 Mar 2012 19:04:07 -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 97094 invoked by uid 99); 21 Mar 2012 19:04:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 19:04:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 19:04:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 1CB581B6CD1 for ; Wed, 21 Mar 2012 19:03:46 +0000 (UTC) Date: Wed, 21 Mar 2012 19:03:46 +0000 (UTC) From: "Lars Hofhansl (Resolved) (JIRA)" To: issues@hbase.apache.org Message-ID: <1240759336.43552.1332356626119.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <205348673.118.1317838470980.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HBASE-4542) add filter info to slow query logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl resolved HBASE-4542. ---------------------------------- Resolution: Fixed Hadoop Flags: Reviewed Comitted to 0.94 aswell. > add filter info to slow query logging > ------------------------------------- > > Key: HBASE-4542 > URL: https://issues.apache.org/jira/browse/HBASE-4542 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.89.20100924 > Reporter: Kannan Muthukkaruppan > Assignee: Madhuwanti Vaidya > Fix For: 0.94.0, 0.96.0 > > Attachments: 0001-jira-HBASE-4542-Add-filter-info-to-slow-query-loggin.patch, Add-filter-info-to-slow-query-logging-2012-03-06_14_28_13.patch, D1263.2.patch, D1539.1.patch > > > Slow query log doesn't report filters in effect. > For example: > {code} > (operationTooSlow): \ > {"processingtimems":3468,"client":"10.138.43.206:40035","timeRange": [0,9223372036854775807],\ > "starttimems":1317772005821,"responsesize":42411, \ > "class":"HRegionServer","table":"myTable","families":{"CF1":"ALL"]},\ > "row":"6c3b8efa132f0219b7621ed1e5c8c70b","queuetimems":0,\ > "method":"get","totalColumns":1,"maxVersions":1,"storeLimit":-1} > {code} > the above would suggest that all columns of myTable:CF1 are being requested for the given row. But in reality there could be filters in effect (such as ColumnPrefixFilter, ColumnRangeFilter, TimestampsFilter() etc.). We should enhance the slow query log to capture & report this information. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira