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

Thrift server to match the new java api.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.94.0
    • Thrift
    • None
    • Reviewed
    • 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. 0001-thrift2-enable-usage-of-.deleteColumns-for-thrift.patch
          14 kB
          Bob Copeland
        2. 1744.addendum
          0.8 kB
          Ted Yu
        3. 1744-trunk.10
          691 kB
          Ted Yu
        4. HBASE-1744.11.patch
          691 kB
          Tim Sell
        5. HBASE-1744.2.patch
          754 kB
          Lars Francke
        6. HBASE-1744.3.patch
          787 kB
          Tim Sell
        7. HBASE-1744.4.patch
          783 kB
          Tim Sell
        8. HBASE-1744.5.patch
          684 kB
          Tim Sell
        9. HBASE-1744.6.patch
          677 kB
          Tim Sell
        10. HBASE-1744.7.patch
          682 kB
          Tim Sell
        11. HBASE-1744.8.patch
          687 kB
          Bob Copeland
        12. HBASE-1744.9.patch
          691 kB
          Tim Sell
        13. HBASE-1744.preview.1.patch
          64 kB
          Lars Francke
        14. thriftexperiment.patch
          14 kB
          Tim Sell

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: