Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6055 Offline Snapshots in HBase 0.96
  3. HBASE-7047

[snapshots] Refactor error handling to use javax.management

    XMLWordPrintableJSON

Details

    Description

      The current error handling framework introduced in HBASE-6571 adds a lot of complexity for what is essentially a solved problem. Specifically, cross-thread notifications have been generalized for the JMX tooling in the javax.management classes.

      Similar to what we developed, they have a NotifciationBroadcaster, NotificationListener, etc. though these are interfaces rather than general classes. These javax classes can be used almost 1-to-1 as replacements for things like the ExceptionOrchestrator and ExceptionListener. This also gives us the opportunity to easily add primitive notifications for standard HBase things like (1) timeouts, (2) aborts, and (3) server stops since the framework already considers things like typed notifications.

      Attachments

        1. hbase-7047-v0.patch
          181 kB
          Jesse Yates
        2. hbase-7047-v0-adv.patch
          193 kB
          Jesse Yates

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jesse_yates Jesse Yates
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: