hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19400) Add missing security hooks for MasterService RPCs
Date Thu, 14 Dec 2017 16:12:00 GMT

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

Ted Yu commented on HBASE-19400:
--------------------------------

{code}
+   * @param numCleaned number of cleaned catalogs
+   */
+  default void postRunCatalogScan(final ObserverContext<MasterCoprocessorEnvironment>
ctx,
{code}
Here is the javadoc for CatalogJanitor#scan()
{code}
   * Run janitorial scan of catalog <code>hbase:meta</code> table looking for
   * garbage to collect.
   * @return number of archiving jobs started.
{code}
Better make the javadoc consistent with above.


> Add missing security hooks for MasterService RPCs
> -------------------------------------------------
>
>                 Key: HBASE-19400
>                 URL: https://issues.apache.org/jira/browse/HBASE-19400
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 2.0.0-beta-1
>            Reporter: Balazs Meszaros
>         Attachments: HBASE-19400.master.001.patch
>
>
> The following RPC methods do not call the observers, therefore they are not guarded by
AccessController:
> - normalize
> - setNormalizerRunning
> - runCatalogScan
> - enableCatalogJanitor
> - runCleanerChore
> - setCleanerChoreRunning
> - execMasterService
> - execProcedure
> - execProcedureWithRet



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message