Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-756

Thrift API should be removed and abstracted

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • build, rpc

    Description

      The thrift API for communication between components should be abstracted out and made more generic, so we can plug in different communications mechanisms. The thrift code generation and the generated code should be moved to a specific implementation of this abstraction, and put in a separate sub-module.

      This can help with:
      1. Making full mocking support easier (ACCUMULO-14) with an in-process "RPC" implementation.
      2. Testing alternative protocols, like Avro, Protocol Buffers, SSL, etc.
      3. Minimizing dependencies and isolating thrift generated code from code that is maintained (ACCUMULO-493).
      4. Wire compatibility (ACCUMULO-751).
      5. More?

      Attachments

        1. ACCUMULO-756.patch
          6.81 MB
          Christopher Tubbs

        Issue Links

          Activity

            People

              ctubbsii Christopher Tubbs
              ctubbsii Christopher Tubbs
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: