hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-19295) The Configuration returned by CPEnv should be read-only.
Date Tue, 05 Dec 2017 06:38:01 GMT

     [ https://issues.apache.org/jira/browse/HBASE-19295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack updated HBASE-19295:
--------------------------
        Assignee: stack
    Release Note: CoprocessorEnvironment#getConfiguration returns a READ-ONLY Configuration.
Attempts at altering the returned Configuration -- whether setting or adding resources --
will result in an IllegalStateException warning of the Read-only condition of the returned
Configuration.
          Status: Patch Available  (was: Open)

> The Configuration returned by CPEnv should be read-only.
> --------------------------------------------------------
>
>                 Key: HBASE-19295
>                 URL: https://issues.apache.org/jira/browse/HBASE-19295
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Coprocessors
>            Reporter: stack
>            Assignee: stack
>              Labels: incompatible
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-19295.master.001.patch
>
>
> The Configuration a CP gets when it does a getConfiguration on the environment is that
of the RegionServer. The CP should not be able to modify this config.  We should throw exception
if they try to write us.
> Ditto w/ the Connection they can get from the env. They should not be able to close it
at min.



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

Mime
View raw message