hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Somogyi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19295) The Configuration returned by CPEnv should be read-only.
Date Wed, 13 Dec 2017 16:02:00 GMT

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

Peter Somogyi commented on HBASE-19295:

[~stack], [~vasas] and I investigted a sqoop failure and found that when {{Configuration.addDefaultResource(String)}}
is called then ReadOnlyConfiguration throws UnsupportedOperationException even when you load
not hbase-specific config. Probably we need some modification here.


> 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, HBASE-19295.master.002.patch, HBASE-19295.master.003.patch,
HBASE-19295.master.004.patch, HBASE-19295.master.005.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

View raw message