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

Add defaults to Table Interface so implementors don't have to

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.1.0, 2.0.2
    • None
    • None
    • Reviewed
    • beginner

    Description

      Lets add default implementaitons – even if they are just throw NotImplementedException – to our Table Interface now we are up on jdk8. Table implementations are how the likes of hbase-indexer modify hbase --via a publically supported API – and I notice that the kafka proxy now goes the same route. Typically, these customizations are only interested in one or two methods of Table adding in their own implementations but they have to supply implementations for all Table methods in their override. Lets help them out by adding defaults (I had a patch but lost it...).

      Attachments

        1. 20812.txt
          23 kB
          Michael Stack
        2. HBASE-20812.branch-2.0.001.patch
          30 kB
          Michael Stack
        3. HBASE-20812.branch-2.0.002.patch
          30 kB
          Michael Stack
        4. HBASE-20812.branch-2.0.003.patch
          30 kB
          Michael Stack
        5. 0001-HBASE-20812-Add-defaults-to-Table-Interface-so-imple.patch
          6 kB
          Michael Stack

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: