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

Foreign Exception framework v2 (simplifies and replaces HBASE-6571)

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.95.0
    • snapshots
    • None
    • Reviewed

    Description

      This provides a way of sending exceptions from 'external' threads/processes (not the main executing thread) to others that poll cooperatively for external exceptions. Some examples of how this can be used include: having a separate timeout thread that injects an exception when a time limit has elapsed (TimeoutExceptionInjector, was OperationAttemptTimer), or having an exception from an separate process delivered to a local thread.

      This simplified version is centered around the ExternalException class. Instead of using generics and ErrorListener interfaces, this more straight-forward implementation eliminates many of the builders/factories and generics.

      Attachments

        1. 121122-external-exceptions.pdf
          345 kB
          Jonathan Hsieh
        2. hbase-7206.v3.patch
          205 kB
          Jonathan Hsieh
        3. hbase-7206.v4.patch
          207 kB
          Jonathan Hsieh
        4. pre-hbase-7206.v4.patch
          839 kB
          Jonathan Hsieh
        5. hbase-7206.v6.patch
          167 kB
          Jonathan Hsieh
        6. pre-hbase-7206.v6.patch
          1.08 MB
          Jonathan Hsieh
        7. hbase-7206.v7.patch
          168 kB
          Jonathan Hsieh
        8. pre-hbase-7206.v7.patch
          1.06 MB
          Jonathan Hsieh

        Issue Links

          Activity

            People

              jmhsieh Jonathan Hsieh
              jmhsieh Jonathan Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: