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

Thrift server to match the new java api.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.94.0
    • Component/s: Thrift
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      thrift, client

      Description

      This mutateRows, etc.. is a little confusing compared to the new cleaner java client.
      Thinking of ways to make a thrift client that is just as elegant. something like:

      void put(1:Bytes table, 2:TPut put) throws (1:IOError io)

      with:

      struct TColumn {
      1:Bytes family,
      2:Bytes qualifier,
      3:i64 timestamp
      }

      struct TPut {
      1:Bytes row,
      2:map<TColumn, Bytes> values
      }

      This creates more verbose rpc than if the columns in TPut were just map<Bytes, map<Bytes, Bytes>>, but that is harder to fit timestamps into and still be intuitive from say python.

      Presumably the goal of a thrift gateway is to be easy first.

        Attachments

        1. thriftexperiment.patch
          14 kB
          Tim Sell
        2. HBASE-1744.preview.1.patch
          64 kB
          Lars Francke
        3. HBASE-1744.9.patch
          691 kB
          Tim Sell
        4. HBASE-1744.8.patch
          687 kB
          Bob Copeland
        5. HBASE-1744.7.patch
          682 kB
          Tim Sell
        6. HBASE-1744.6.patch
          677 kB
          Tim Sell
        7. HBASE-1744.5.patch
          684 kB
          Tim Sell
        8. HBASE-1744.4.patch
          783 kB
          Tim Sell
        9. HBASE-1744.3.patch
          787 kB
          Tim Sell
        10. HBASE-1744.2.patch
          754 kB
          Lars Francke
        11. HBASE-1744.11.patch
          691 kB
          Tim Sell
        12. 1744-trunk.10
          691 kB
          Ted Yu
        13. 1744.addendum
          0.8 kB
          Ted Yu
        14. 0001-thrift2-enable-usage-of-.deleteColumns-for-thrift.patch
          14 kB
          Bob Copeland

          Issue Links

            Activity

              People

              • Assignee:
                tim_s Tim Sell
                Reporter:
                tim_s Tim Sell
              • Votes:
                1 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: