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

Rename *column methods in MasterObserver to *columnFamily

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed

    Description

      This being an interface makes it a bit harder on implementors. It'd be easier with Java8 and default implementations.

      We could either

      1. add new *columnFamily methods and deprecate the old ones or
      2. rename the existing ones without doing a deprecation first.

      Implementors would need to change their code in each of those cases. But because we have the BaseMasterObserver and BaseMasterAndRegionObserver it'd make things easier for people using those classes if we go with option 1. So that's my preference.

      The plan would be to add these methods in 2.0.0 and remove the old ones in 3.0.0.

      Attachments

        1. HBASE-13645.patch
          60 kB
          Michael Stack
        2. HBASE-13645.patch
          60 kB
          Lars Francke
        3. HBASE-13645 (1).patch
          60 kB
          Michael Stack

        Issue Links

          Activity

            People

              larsfrancke Lars Francke
              larsfrancke Lars Francke
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: