Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-19508

ReadOnlyConfiguration throws exception if any Configuration in current context calls addDefautlResource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta-1, 2.0.0
    • conf
    • None
    • Reviewed

    Description

      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.

      Attachments

        1. HBASE-19508.master.001.patch
          4 kB
          Michael Stack

        Issue Links

          Activity

            People

              stack Michael Stack
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: