Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15982 Interface ReplicationEndpoint extends Guava's Service
  3. HBASE-18658

Purge hokey hbase Service implementation; use (internal) Guava Service instead

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-3, 2.0.0
    • None
    • None
    • Reviewed
    • Removed hbase Service class. It was not fully-formed. Now Guava is relocated, use its Service instead internally; it has nice implementation facility too in AbstractService.

    Description

      Purge useless hbase Service class. Having it around only confuses. Purge it here because we thought it might be of use fixing parent issue but it only confused the issue. And now it is safe to use Guava Service with its nice supporting facility (including ServiceManager for running many at a time).

      Introduces "hbase.master.wait.on.service.seconds", a new config. for how long Master should wait on a Service to start or stop.

      Attachments

        1. HBASE-18658.master.001.patch
          8 kB
          Michael Stack
        2. HBASE-18658.master.002.patch
          8 kB
          Michael Stack
        3. HBASE-18658.master.002.patch
          8 kB
          Michael Stack
        4. HBASE-18658.master.003.patch
          9 kB
          Michael Stack

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: