hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-19508) ReadOnlyConfiguration throws exception if any Configuration in current context calls addDefautlResource
Date Wed, 13 Dec 2017 17:49:00 GMT
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)

Mime
View raw message