You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/12/13 17:49:00 UTC
[jira] [Created] (HBASE-19508) ReadOnlyConfiguration throws
exception if any Configuration in current context calls addDefautlResource
stack created HBASE-19508:
-----------------------------
Summary: ReadOnlyConfiguration throws exception if any Configuration in current context calls addDefautlResource
Key: HBASE-19508
URL: https://issues.apache.org/jira/browse/HBASE-19508
Project: HBase
Issue Type: Bug
Components: conf
Reporter: stack
Assignee: stack
Fix For: 2.0.0-beta-1
Reported by [~psomogyi] up on HBASE-19295, the issue that added CpEnv returning a read-only Configuration.
Issue is that hadoop Configuration registers every created Configuration in a static REGISTRY on construction. A call to addDefaultResource -- e.g. sqoop does this in tests to get its configurations into the mix -- results in a call to every registered Configurations loadResource.. which is disallowed in our read-only Configuration.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)