You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Xu Cang (JIRA)" <ji...@apache.org> on 2018/11/21 00:48:01 UTC

[jira] [Created] (PHOENIX-5034) Log all critical statements in SYSTEM.LOG table.

Xu Cang created PHOENIX-5034:
--------------------------------

             Summary: Log all critical statements in SYSTEM.LOG table.
                 Key: PHOENIX-5034
                 URL: https://issues.apache.org/jira/browse/PHOENIX-5034
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Xu Cang
            Assignee: Xu Cang


In production, sometimes engineers see table got dropped unexpectedly. It's not easy to SCAN raw table from HBase itself to understand what happened and when the table get dropped.

Since we already have SYSTEM.LOG query log facility in Phoenix that sampling query statement (log 1% statement by default). It's good to always log critical statements such as "DROP" or "ALTER" statements.

 



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