Details

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      CoprocessorEnvironment#getConfiguration returns a READ-ONLY Configuration. Attempts at altering the returned Configuration -- whether setting or adding resources -- will result in an IllegalStateException warning of the Read-only condition of the returned Configuration.
      Show
      CoprocessorEnvironment#getConfiguration returns a READ-ONLY Configuration. Attempts at altering the returned Configuration -- whether setting or adding resources -- will result in an IllegalStateException warning of the Read-only condition of the returned Configuration.

      Description

      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.

        Attachments

        1. HBASE-19295.master.001.patch
          16 kB
          stack
        2. HBASE-19295.master.002.patch
          17 kB
          stack
        3. HBASE-19295.master.003.patch
          17 kB
          stack
        4. HBASE-19295.master.004.patch
          17 kB
          stack
        5. HBASE-19295.master.005.patch
          17 kB
          stack

          Issue Links

            Activity

              People

              • Assignee:
                stack stack
                Reporter:
                stack stack
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: