hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4082) Add API call audit trail
Date Mon, 11 Jul 2011 17:06:59 GMT

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

Lars George commented on HBASE-4082:

Ah right, I assumed that is using CPs. But it does not read like it. Will comment over there.

> Add API call audit trail
> ------------------------
>                 Key: HBASE-4082
>                 URL: https://issues.apache.org/jira/browse/HBASE-4082
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, regionserver
>            Reporter: Lars George
>            Priority: Minor
> It would be very helpful to correlate the log contents with API calls that have been
made. This includes calls to split, compact, as well as bulkLoadHFile and so on. This could
be stored in a separate log file if wanted, and be disabled by default (unless more want it
on than off).
> I could think of an AuditLogger class that is used to write them into a shared log context.
It should log all primitive parameters as well as a reasonable amount of those that binary
or larger.
> Sure this could be implemented with an Audit coprocessor, but that isn't here yet, and
also seems a bit overcomplicating things. BUt I am open for ideas.
> We have it often that we get logs that show some sort of malfunction, but we cannot tell
what happened beforehand. Some events can be inferred if you have intrinsic knowledge of the
log messages that precede the event. But that is hardcore and not really user-friendly. Being
able to switch on the call logging would help.
> Also, this is probably not useful for high volume calls, like multi() etc. So a selective
filtering is needed to fine tune what is logged.

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message