[ 
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.

https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java#L850-L859

> 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
(v6.4.14#64029)

Reply via email to