HBase
  1. HBase
  2. HBASE-11805

KeyValue to Cell Convert in WALEdit APIs

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, 2.0.0
    • Component/s: wal
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      The KeyValue based APIs in WALEdit is been removed and replaced with Cell based APIs
      void add(KeyValue) -> void add(Cell)
      ArrayList<KeyValue> getKeyValues() -> ArrayList<Cell> getCells()
      Show
      The KeyValue based APIs in WALEdit is been removed and replaced with Cell based APIs void add(KeyValue) -> void add(Cell) ArrayList<KeyValue> getKeyValues() -> ArrayList<Cell> getCells()

      Description

      In almost all other main interface class/APIs we have changed KeyValue to Cell. But missing in WALEdit. This is public marked for Replication (Well it should be for CP also)
      These 2 APIs deal with KVs
      add(KeyValue kv)
      ArrayList<KeyValue> getKeyValues()

      Suggest deprecate them and add for 0.98
      add(Cell kv)
      List<Cell> getCells()

      And just replace from 1.0

      1. HBASE-11805.patch
        69 kB
        Anoop Sam John
      2. HBASE-11805_V2.patch
        70 kB
        Anoop Sam John
      3. HBASE-11805_0.98.patch
        54 kB
        Anoop Sam John
      4. HBASE-11805_0.98_V2.patch
        56 kB
        Anoop Sam John
      5. HBASE-11805_0.99.patch
        70 kB
        Anoop Sam John
      6. HBASE-11805_V3.patch
        72 kB
        Anoop Sam John
      7. HBASE-11805_0.98_addendum.patch
        30 kB
        Anoop Sam John

        Issue Links

          Activity

          Anoop Sam John created issue -
          Anoop Sam John made changes -
          Field Original Value New Value
          Link This issue relates to HBASE-11777 [ HBASE-11777 ]
          Andrew Purtell made changes -
          Fix Version/s 0.98.7 [ 12327560 ]
          Fix Version/s 0.98.6 [ 12327376 ]
          Anoop Sam John made changes -
          Attachment HBASE-11805.patch [ 12665959 ]
          Anoop Sam John made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Anoop Sam John made changes -
          Link This issue blocks HBASE-11639 [ HBASE-11639 ]
          Anoop Sam John made changes -
          Attachment HBASE-11805_V2.patch [ 12666280 ]
          Anoop Sam John made changes -
          Attachment HBASE-11805_0.98.patch [ 12666448 ]
          stack made changes -
          Link This issue is depended upon by HBASE-10856 [ HBASE-10856 ]
          Anoop Sam John made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Anoop Sam John made changes -
          Attachment HBASE-11805_0.98_V2.patch [ 12666996 ]
          Anoop Sam John made changes -
          Attachment HBASE-11805_0.99.patch [ 12666997 ]
          Anoop Sam John made changes -
          Attachment HBASE-11805_V3.patch [ 12666998 ]
          Anoop Sam John made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Anoop Sam John made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Release Note In 0.98 WALEdit below APIs are deprecated
          void add(KeyValue)
          ArrayList<KeyValue> getKeyValues()
          And added new APIs
          void add(Cell)
          ArrayList<Cell> getCells()

          in 0.99+ the deprecated APIs are removed and replaced with new mentioned.
          Resolution Fixed [ 1 ]
          Andrew Purtell made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Anoop Sam John made changes -
          Attachment HBASE-11805_0.98_addendum.patch [ 12667644 ]
          Anoop Sam John made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ] Incompatible change,Reviewed [ 10342, 10343 ]
          Release Note In 0.98 WALEdit below APIs are deprecated
          void add(KeyValue)
          ArrayList<KeyValue> getKeyValues()
          And added new APIs
          void add(Cell)
          ArrayList<Cell> getCells()

          in 0.99+ the deprecated APIs are removed and replaced with new mentioned.
          The KeyValue based APIs in WALEdit is been removed and replaced with Cell based APIs
          void add(KeyValue) -> void add(Cell)
          ArrayList<KeyValue> getKeyValues() -> ArrayList<Cell> getCells()
          Fix Version/s 0.98.7 [ 12327560 ]
          Resolution Fixed [ 1 ]
          Anoop Sam John made changes -
          Link This issue relates to HBASE-11971 [ HBASE-11971 ]
          Enis Soztutar made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Anoop Sam John
              Reporter:
              Anoop Sam John
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development