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)