You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Appy (JIRA)" <ji...@apache.org> on 2018/05/11 03:29:00 UTC
[jira] [Assigned] (HBASE-20567) Give both old and new descriptors
to pre/post hooks of modify operations for table and namespace
[ https://issues.apache.org/jira/browse/HBASE-20567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Appy reassigned HBASE-20567:
----------------------------
Assignee: Appy
> Give both old and new descriptors to pre/post hooks of modify operations for table and namespace
> ------------------------------------------------------------------------------------------------
>
> Key: HBASE-20567
> URL: https://issues.apache.org/jira/browse/HBASE-20567
> Project: HBase
> Issue Type: Improvement
> Reporter: Appy
> Assignee: Appy
> Priority: Major
>
> In postModify* hooks like {{postModifyX(..., Descriptor newDesc)}}, there's no way of getting the old descriptor which was there before modification happened.
> Having both old and new descriptors will make the hooks more useful.
> We felt the need when we wanted to audit certain events but there was no way of deducing them by just seeing 'after-state' of modification.
> To keep the method signatures consistent, i have modified both pre and post hooks with new arguments which are well named and commented.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)