hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5609) Add the ability to pass additional information for slow query logging
Date Wed, 21 Mar 2012 20:34:41 GMT

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

Lars Hofhansl commented on HBASE-5609:
--------------------------------------

We use something like this at Salesforce to track certain slow SQL queries back to the part
of the application that issued them.

For this we'd log some module identifier here.

                
> Add the ability to pass additional information for slow query logging
> ---------------------------------------------------------------------
>
>                 Key: HBASE-5609
>                 URL: https://issues.apache.org/jira/browse/HBASE-5609
>             Project: HBase
>          Issue Type: New Feature
>          Components: client, ipc
>            Reporter: Michael Drzal
>            Assignee: Michael Drzal
>            Priority: Minor
>
> HBase-4117 added the ability to log information about queries that returned too much
data or ran for too long.  There is some information written as a fingerprint that can be
used to tell what table/column families/... are affected.  I would like to extend this functionality
to allow the client to insert an identifier into the operation that gets output in the log.
 The idea behind this would be that if there were N places in the client application that
touched a given table in a certain way, you could quickly narrow things down by inserting
a className:functionName or similar identifier.  I'm fully willing to go back on this if people
think that it isn't a problem in real life and it would just add complexity to the code.

--
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

        

Mime
View raw message