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

Avoid copy-paste in Master/Region CoprocessorHost

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.99.0, 0.98.6
    • Coprocessors
    • None

    Description

      all the methods of MasterCoprocessorHost and RegionCoprocessorHost are copy-paste, and a couple of them have some missing fixes.
      The body of each function is the same, the only difference is the call to the specific coprocessor.

      Attachments

        1. HBASE-11733-v3.patch
          197 kB
          Matteo Bertozzi
        2. HBASE-11733-v2.patch
          193 kB
          Matteo Bertozzi
        3. HBASE-11733-v0.patch
          185 kB
          Matteo Bertozzi
        4. HBASE-11733-0.98-v3.patch
          192 kB
          Matteo Bertozzi
        5. HBASE-11733-0.98-v1.patch
          180 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: